home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / apple-a-ux < prev    next >
Encoding:
Text File  |  1995-04-11  |  166.7 KB  |  3,686 lines

  1. Archive-name: aux-faq/part1
  2. Last-modified: Mon Mar  6 09:44:03 EST 1995
  3.  
  4.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  5.  
  6.  
  7. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 1 OF 4 //////////////////////
  8.  
  9. FAQ for A/UX
  10. ============
  11.  
  12. This FAQ list is intended to cut down on the number of "often asked questions"
  13. that make the rounds here on comp.unix.aux. Also included you'll find a few
  14. words of wisdom as well as some general information for the A/UX community.
  15. This list assumes that you are familiar with Unix (to some extent) but are
  16. curious about A/UX's eccentricities. The list will concentrate on A/UX 3.x.x
  17. but may also have info about previous versions. If you don't understand
  18. something in the FAQ List, and a "Point of Contact" isn't specified, then
  19. contact me and I'll attempt to help or else point you to someone who can.
  20. In any case, let me know how I can make the list more clear.
  21.  
  22. You'll notice jagubox.gsfc.nasa.gov mentioned alot here. You can access files
  23. on jagubox either using 'ftp' (jagubox runs the WUARCHIVE-FTPD server),
  24. 'gopher' or a WWW-client (jagubox's URL is "http://jagubox.gsfc.nasa.gov").
  25. <<ED: Note that the gopher-server will be down for awhile >>
  26.  
  27. This FAQ is written in a format that EasyView (for the Mac) can understand and
  28. make use of. EasyView provides a very nice front-end for viewing, browsing and
  29. reading the FAQ. EasyView is available on jagubox.gsfc.nasa.gov.
  30.  
  31. The list will be posted every other Tuesday on comp.unix.aux as well as on
  32. news.answers and comp.answers. It is also available on jagubox.gsfc.nasa.gov.
  33.  
  34. There is a frozen FAQ that deals with A/UX 2.0.1 which is available on jagubox
  35. (FAQ.aux.201). This FAQ will be posted monthly (or so) on comp.unix.aux.
  36.  
  37. This FAQ will focus on A/UX 3.1.1, but will also refer to 3.1, 3.0.2 and
  38. 3.0.1. Bugs and things "broken" in 3.0.1 but fixed in 3.0.2 (and later)
  39. or "broken" in 3.1 but fixed in 3.1.1 won't necessarily be mentioned, since
  40. the 3.0.1->3.0.2 and 3.1->3.1.1 fixes (the AWS "Tune-Up" disks, v1.0 and v2.0)
  41. are free and readily available.
  42.  
  43. This FAQ is "copyrighted" in the same sense that all other FAQs are copy-
  44. righted: the FAQ may be _freely_ redistributed as long as the author's/editor's
  45. name and this notice is included. If contents of this FAQ are to be published,
  46. then you should ask the author's/editor's permission to do so.
  47.  
  48. Send your additions|modifications to Jim Jagielski (jim@jagubox.gsfc.nasa.gov)
  49. (editor's notes are included as <<ED: ...>>). I will tend to refer to myself
  50. in the 3rd person in the Q&A section.
  51.  
  52. =============================
  53. **** Significant Changes ****
  54. -----------------------------
  55.  
  56. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  57. |Significant changes/additions since last posting:
  58. |   Changes signified by "|" in 1st column;
  59. |   Additions by "+" in the 1st column;
  60. |   Deletions by "-" in the 1st column (the line will be
  61. |    deleted in the next posting)
  62. |
  63. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  64.  
  65.  
  66. ============================
  67. **** TABLE OF CONTENTS: ****
  68. ----------------------------
  69.  
  70. o List of Contributors to A/UX FAQ List
  71. o List of anon-ftp archives for A/UX
  72. o List of security-related issues
  73. o List of known bugs and patches under A/UX 3.x.x
  74. o List of ported software
  75. o Partial list of compatible shareware|freeware
  76. o Hints and Words Of Wisdom
  77. o Q&A-
  78.    GENERAL QUESTIONS:
  79.    G.01)  What's A/UX? Is it any good?
  80.    G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  81.    G.03)  What's new about A/UX 3.x.x?
  82.    G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  83.    G.05)  How can I order A/UX?
  84.    G.06)  What's the upgrade path for A/UX 3.0.2?
  85.    G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  86.    G.08)  How can I report bugs that I find?
  87.    G.09)  What's the word on A/UX 3.1 and 3.1.1?
  88.    G.10)  What's the future of A/UX with the PowerMacs?
  89.    G.11)  I can't use A/UX. What UNIX alternatives are there?
  90.  
  91.    ADMINISTRATION ISSUES:
  92.    A.01)  How come my Login screen is gray, not color?
  93.    A.02)  How come my Login ScreenSaver doesn't see both my monitors?
  94.    A.03)  Even though I have lot's of swap space and only a little bit is
  95.           being used, I STILL get a lot of messages saying that my swap
  96.           space is running low. What's the buzz?
  97.    A.04)  How can I copy a complete file system from one disk|partition to
  98.           another?
  99.    A.05)  What's with UUCP?
  100.    A.06)  How can I log anonymous ftp entries? in.ftpd has a -l option,
  101.           but it doesn't work.
  102.    A.07)  How come when I do a 'df' as a regular user, it shows me a different
  103.           number of free blocks compared to when I run it as 'root'?
  104.    A.08)  Does A/UX LocalTalk support IP?
  105.    A.09)  How do I get MPW 3.1 to work? It hangs my system...
  106.    A.10)  Can I refer to a file on my Mac system from within A/UX?
  107.    A.11)  How can I adjust the amount of virtual memory Finder uses?
  108.    A.12)  Is there an archive of comp.unix.aux out there somewhere?
  109.    A.13)  How come I can't use color under X?
  110.    A.14)  Using the command shell interface, I'm trying to access some Mac
  111.           files (that have strange names) but I can't; the program returns an
  112.           error message I can't access the file. What's going on?
  113.    A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  114.           hard disk. Well, it doesn't on mine!
  115.    A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  116.           how can I get it?
  117.    A.17)  How can I configure CAP under A/UX?
  118.    A.18)  What are some good books about A/UX?
  119.    A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  120.           error message and A/UX won't boot. What can I do?
  121.    A.20)  Is traceroute available for A/UX?
  122.    A.21)  What is KEEPALIVE and how can I use it?
  123.    A.22)  What does this 'panic' message mean...?
  124.    A.23)  How often does A/UX sync the file system?
  125.    A.24)  What is 'catsearchd'?
  126.    A.25)  Is there any way to make AppleDouble file formats the default,
  127.           rather than AppleSingle?
  128.  
  129.    MAC-EMULATION QUESTIONS:
  130.    M.01)  What Mac applications are compatible with A/UX?
  131.    M.02)  What screen-savers are compatible with A/UX?
  132.    M.03)  My MacOS partition mounts fine under MacOS but it doesn't show
  133.           up under A/UX... Why?
  134.    M.04)  I have MacsBug installed. How can I trigger it?
  135.    M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  136.           up; how can I unfreeze it? Should I hit the Interrupt switch?
  137.    M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use
  138.           Phase 1 under A/UX?
  139.    M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  140.           Also, sometimes things get transfered fine, othertimes not. What's
  141.           going on?
  142.    M.08)  Do I install CDEVs and Extensions in the System Folder on
  143.           MacPartition or on the "/" A/UX disk.
  144.    M.09)  I heard that A/UX requires a special version of System 7 to boot...
  145.           Is this true?
  146.    M.10)  After the Mac environment crashes (or when I use MacsBug), the
  147.           Desktop gets all screwed up... Argg!!
  148.    M.11)  My MacOS partition(s) only show up on the Desktop when I login
  149.           as root. Why?
  150.    M.12)  For some reason, my CommandShell only responds to a keyboard
  151.           event after it receives a second event. For example, typing "a"
  152.           won't show until I type something else or click the mouse.
  153.           What gives?
  154.    M.13)  Can A/UX 3.x.x run System 7.1?
  155.    M.14)  What version of AppleTalk does A/UX run?
  156.    M.15)  I've just installed MacTCP 2.0.2|4|6 on A/UX and nothing works!
  157.           What's going on?
  158.    M.16)  Does the LaserWriter Bridge s/w work under A/UX?
  159.  
  160.    DEVICES AND PERIPHERALS:
  161.    D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  162.    D.02)  I have an EtherNet card that works fine under the Macintosh OS
  163.           but not under A/UX. Why?
  164.    D.03)  Can I use my scanner under A/UX?
  165.    D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to
  166.           work. I keep on getting a "more data than device expected" error
  167.           message. What's wrong?
  168.    D.05)  What 3-button mice work under A/UX (and X)?
  169.    D.06)  Is it worth getting a cache card for the IIci?
  170.    D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  171.    D.08)  Which serial cards work under A/UX?
  172.    D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print
  173.           something to it through 'lpr', the first line of the page is cut
  174.           off. Why?
  175.    D.10)  I'm trying to access my tape drive using 'tc' (with something like
  176.           "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  177.    D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  178.    D.12)  I've tried to install the CD Remote extension to A/UX so that
  179.           I can play audio CD's, but it doesn't work...
  180.    D.13)  What UNIX CD-ROM formats does A/UX support?
  181.    D.14)  How can I add printers other than those available in Chooser?
  182.    D.15)  What 3rd party accelerators are compatible with A/UX?
  183.    D.16)  Will the old serial HP DeskWriter work under A/UX?
  184.    D.17)  How can I use a HP DeskWriter under A/UX?
  185.    D.18)  Does A/UX support 24-bit color?
  186.    D.19)  What's the specifics on the AWS95 PDS Card?
  187.    D.20)  What are the specifics of SCSI under A/UX?
  188.    D.21)  I can't get my LaserJet 4M to work reliably. Help!
  189.    D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  190.  
  191.    PORTING AND PROGRAMMING
  192.    P.01)  How come rn|elm|less|etc... act weird concerning signals?
  193.    P.02)  Is X11R5 available for A/UX?
  194.    P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  195.           I'll miss out on all the neat Gnu-stuff like gcc?
  196.    P.04)  I've ported Elm (or other mail reader) and it doesn't seem to
  197.           work... Why?
  198.    P.05)  What languages are available for A/UX?
  199.    P.06)  Is OSF/Motif available for A/UX?
  200.    P.07)  While trying to port some software, the Makefile looks
  201.           for a program called 'ranlib' and dies when it can't
  202.           find it. What is it and where can I get it.
  203.    P.08)  When compiling, I get the message that 'setlocale' is
  204.           an "undefined symbol"... what's going on?
  205.  
  206.    COMMUNICATION:
  207.    C.01)  I'm unable to start a getty process on a built-in serial port. When
  208.           I use 'setport' to enable the port, I get a "no such device" error.
  209.           Configuring /etc/inittab to respawn getty on the port has no effect.
  210.    C.02)  I am using and depending on /etc/hosts to do all my hostname
  211.           resolving (i.e. not using named or /etc/resolv.conf). How come I
  212.           can't mail to other hosts, but I can ping|ftp|etc... them?
  213.    C.03)  When I try to mail something, I get the following error message:
  214.           "Cannot read frozen config file: not a typewriter". What's wrong?
  215.    C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  216.           on tty0?
  217.    C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  218.           there, and they can't talk to me?
  219.    C.06)  How can I convince A/UX to forward IP packets?
  220.    C.07)  Is PPP available for A/UX?
  221.    C.08)  How can I change the MTU value for CSlip?
  222.  
  223.    ERRORS EXPLAINED:
  224.    E.01)  How do I keep command lines that I edit with "backspace" from
  225.           erasing the prompt?
  226.    E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  227.           a fatal server error. Why?
  228.    E.03)  I keep on getting the following error message on the Console:
  229.           "fcntl: local lock manager not registered". What's going on?
  230.    E.04)  When I try to startup 'xterm', I get the following error
  231.           message: "xterm: no available ptys"... What gives?
  232.    E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  233.           these commands, they get a "no mem" error message. What's wrong?
  234.  
  235.  
  236. ===============================================
  237. **** List of Contributors to A/UX FAQ List ****
  238. -----------------------------------------------
  239.  
  240. The editor would like to thank all the various people who have contributed
  241. to the A/UX FAQ List (both those that submitted questions as well as those
  242. who submitted answers). Also included under the Q&A section are the relevant
  243. people to contact if you have specific questions about specific A/UX items.
  244. If I've left you out, PLEASE E-mail me!
  245.  
  246.   Brian Bechtel           (blob@apple.com)
  247.   Greg Berryman           (gpb@gpb-mac.sps.mot.com)
  248.   Nick Beser              (beser@aplcomm.jhuapl.edu)
  249.   Peter Brewer            (brewer@hamlet.umd.edu)
  250.   Manuel Bouyssou         (manuel@apple.com)
  251.   John Coolidge           (coolidge@apple.com)
  252.   Bob Denny               (denny@alisa.com)
  253.   Eric Dittman            (dittman@skitzo.dseg.ti.com)
  254.   John Dundas III         (dundas@salt.jpl.nasa.gov)
  255.   Thomas Eberhardt
  256.   Rick Ewing              (ewing@vhp.vanderbilt.edu)
  257.   Ron Flax                (ron@afsg.apple.com)
  258.   Marcelo Gallardo        (marcelo@deadzone.princeton.edu)
  259.   Ben Goren               (ben@tux.fa.asu.edu)
  260.   James Gritton           (gritton@byu.edu)
  261.   Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  262.   Chris Johnson           (cjohnson@brl.mil)
  263.   Bill Johnston           (johnston@me.udel.edu)
  264.   Ron Johnston            (johnston@apple.com)
  265.   Bob Kirby               (kirby@esl.com)
  266.   Nicolas Lenz            (nlenz@sdcc13.UCSD.EDU)
  267.   Darrell Pfeifer         (pfeifer@camins.camosun.bc.ca)
  268.   Phillip Porch           (root@theporch.com)
  269.   Wes Price               (ww2@bullwinkle.ssc.gov)
  270.   Alexis Rosen            (alexis@panix.com)
  271.   Eric Rosen              (eric@cse.ucsc.edu)
  272.   Craig Ruff              (cruff@ncar.ucar.edu)
  273.   Jim Ryan                (jryan@adobe.com)
  274.   Paul Sander             (paul@sander.uucp)
  275.   Kent Sandvik            (ksand@apple.com)
  276.   Jon Stevens             (root@dolphin.csudh.edu)
  277.   Craig Struble           (cstruble@gnu.ai.mit.edu)
  278.   Richard Todd            (rmtodd@servalan.servalan.com)
  279.   Chuq Von Rospach        (chuq@apple.com)
  280.   Jon W{tte               (d88-jwa@nada.kth.se)
  281.   Earl Wallace            (earlw@macaux.aux.apple.com)
  282.   Herb Weiner             (herbw@wiskit.com)
  283.   Bill Woodcock           (woody@zocalo.com)
  284.  
  285.  
  286. =================================================
  287. **** List of anonymous ftp archives for A/UX ****
  288. -------------------------------------------------
  289.  
  290. The following sites have A/UX related archives and materials available via
  291. anonymous ftp (see below for more information):
  292.  
  293. abs.apple.com                      (130.43.1.101)
  294.     Meant to be the central server for _all_ Apple Business Systems
  295.     products, including A/UX, AWS, MAE, etc...
  296.  
  297. afsg.apple.com                     (130.43.50.2)
  298.     ports and hacks for A/UX
  299.  
  300. aux.support.apple.com              (130.43.6.2)
  301.     the "official" A/UX-support server
  302.     archive of comp.unix.aux
  303.     A/UX patches and some ports;
  304.  
  305. dolphin.csudh.edu                  (155.135.16.1)
  306.     neat A/UX stuff
  307.  
  308. dunkin.Princeton.EDU               (128.112.64.39)
  309.     mirror of jagubox.gsfc.nasa.gov
  310.  
  311. ftp.fenk.wau.nl                    (137.224.129.4)
  312.     mirror of jagubox.gsfc.nasa.gov
  313.  
  314. jagubox.gsfc.nasa.gov              (128.183.44.1)
  315.     FAQ List;
  316.     bunch of ports, utilities, new mini-inews (1.6);
  317.     Apple fixes (in ~ftp/pub/aux/Apple.fixes)
  318.     ***       jagubox also runs a gopherd-server as well      ***
  319.     *** and a WWW-httpd server "http://jagubox.gsfc.nasa.gov" ***
  320.  
  321. nada.kth.se                        (130.237.222.71)
  322.     mirror of A/UX items from:
  323.        afsg.apple.com
  324.        aux.support.apple.com
  325.        jagubox.gsfc.nasa.gov
  326.        wuarchive.wustl.edu
  327.  
  328. rascal.ics.utexas.edu              (128.83.138.20)
  329.     misc. ports;
  330.     Mac applications, CDEVs, etc...;
  331.  
  332. redstar.dcs.qmw.ac.uk              (192.135.231.4)
  333.     IIci benchmarking results;
  334.  
  335. wc208.residence.gatech.edu         (199.77.224.208)
  336.     copies of various A/UX ports
  337.  
  338. wuarchive.wustl.edu                (128.252.135.4)
  339.     ports, GNU stuff; (look in systems/aux)
  340.  
  341.  
  342. =======================================
  343. *** List of security-related issues ***
  344. ---------------------------------------
  345.  
  346. No system is 100% secure. To this end, it makes sense to make each one as
  347. secure as possible, including A/UX.
  348.  
  349. ~~~~~~~~~~~~~~~~~~~~~~
  350. Permissive Permissions
  351. ~~~~~~~~~~~~~~~~~~~~~~
  352.  
  353.   o The default distribution of A/UX has some files with somewhat permissive
  354.     permissions. These should be changed to avoid problems. These files and
  355.     the recommended modes, owners and groups are as follows:
  356.  
  357.       -rwsr-xr-x   1 root     sys        /bin/ps
  358.       -rwxr-sr-x   1 bin      sys        /bin/pstat
  359.       -rwxr-xr-x   1 bin      bin        /etc/ncheck
  360.       -rwxr-sr-x   1 bin      sys        /usr/bin/lav
  361.       -rwxr-xr-x   1 bin      bin        /usr/bin/X11/xterm
  362.       -rwxr-sr-x   1 bin      sys        /usr/etc/ncstats
  363.       -rwxr-sr-x   1 bin      sys        /usr/etc/nfsstat
  364.       -rwxr-xr-x   1 bin      bin        /usr/etc/rpcinfo
  365.       -rwxr-x---   1 adm      adm        /usr/lib/acct/diskusg
  366.       drwxr-xr-x  21 root     sys        /etc 
  367.  
  368.     (The removal of SUID-to-root from 'diskusg' means that the cron 'adm'
  369.     accounting package [all the /usr/lib/acct/* stuff] will need to be run by
  370.     'root' instead)
  371.  
  372.     To make changing the user, group and permissions of these files a little
  373.     easier, Jim Jagielski has hacked together an ugly little 'ksh' script
  374.     that does it for you. The info required is self contained in the script
  375.     itself and it's easy to add more entries as required. Look for the script
  376.     on jagubox.gsfc.nasa.gov under "/pub/aux/Security/better.perms".
  377.  
  378.  o  Also, to close things a little tighter, remove all permissions for
  379.     "others" ('chmod o-rwx') for all files in:
  380.  
  381.       /usr/lib/acct
  382.       /usr/lib/cron
  383.     
  384.   o Only trusted users should be allowed to use 'lpr'. Remove execute
  385.     priviledges for OTHERS and then change '/etc/groups' to make _only_
  386.     trusted users as members of group 'daemon'. If you want, you can dump
  387.     'lpr/lpd' and use 'lp/lpsched'.
  388.  
  389.   o You may want to consider if you really want the 'lp'|'lpr' admini-
  390.     stration programs (such as 'lpadmin', 'lpmove' etc...) executable by
  391.     all. If not, then remove that mode from them ('chmod o-rwx').
  392.  
  393.   o Under 3.x.x, make sure that all files in /dev/scsi are mode 600 with
  394.     owner 'root' and group 'sys'... Get the new 'devscsi' file (available on
  395.     jagubox) to replace what's in /etc/install.d/init.d.
  396.  
  397.   o A/UX also has the 'expreserve' problem. This program (actually called
  398.     'ex3.9preserve' under A/UX) is used by 'vi'|'ex' to "save" canceled
  399.     or killed edit sessions. 'expreserve' saves a copy of the buffer in
  400.     the "/usr/preserve" directory. The program is SUID to root since the
  401.     directory is owned by root, but any other user would do just fine. There's
  402.     also no real need for it to be SUID either. To preserve the use of
  403.     'expreserve' you'll need to create a new user whose sole existance is to
  404.     own "/usr/preserve" and 'ex3.9preserve'.
  405.  
  406.       : Create a new user on the system. Make it totally unused. eg:
  407.  
  408.          /etc/passwd:
  409.            preserve:* void *:33:33:secure preserve:/usr/preserve:/bin/noshell
  410.  
  411.          /etc/group
  412.            preserve:* void *:33:preserve
  413.     
  414.       : Now change the owner and group of /usr/lib/ex3.9preserve and
  415.         /usr/preserve to the above user. Change the mode of 'ex3.9preserve' to
  416.         2111 and 'preserve' to 775:
  417.  
  418.           ---x--s--x   1 preserve  preserve  /usr/lib/ex3.9preserve
  419.           drwxrwxr-x   2 preserve preserve     512 Mar  4 15:46 /usr/preserve
  420.  
  421.     ...and you're done. Now vi/expreserve can write in /usr/preserve but no
  422.     root security hole exists! If this is too much work, then you can just
  423.     remove the SUID bit for 'expreserve'; this will close the hole, but killed
  424.     editting sessions won't be saved (except for root).
  425.  
  426.     (***NOTE*** Replacing 'sh' with the "fixed" version described below
  427.      fixes this hole. Still, having 'expreserve' SUID to root goes against
  428.      the ideal of running programs with the least priviledges possible.)
  429.  
  430.   o The '/lib/librmt.a' library has write permissions for all users. You
  431.     should remove it:
  432.  
  433.       -rw-r--r--   1 root     bin        14734 Mar 23  1993 /lib/librmt.a
  434.  
  435.   o Why not create a group called 'wheel' and make /bin/su mode 4750 with
  436.     owner 'root' and group 'wheel'. Then, only make trusted users with
  437.     the need to use 'su' as members of 'wheel'.
  438.  
  439.   o Make sure that 'bin' has a void password and '/bin/false' as it's
  440.     login shell.
  441.  
  442.   o The shadow-passwd suite has been ported to A/UX. Basically, this package
  443.     moves the encrypted passwds from world-readble /etc/passwd to root-only-
  444.     readable /ec/shadow, thus greatly increasing security. Some daemons, such
  445.     as popper and wu-ftpd will need to be recompiled. Use it!
  446.  
  447. ~~~~~~~~~~~~~~~~~~~~~~~~~
  448. Other "Gotcha's" and Info
  449. ~~~~~~~~~~~~~~~~~~~~~~~~~
  450.  
  451.   o A number of holes are due to some "wrong" things that '/bin/sh' does
  452.     concerning IFS. To fix this, Apple has released a "corrected" version
  453.     of 'sh' that resets IFS to it's default value before executing a script.
  454.     This fixes some holes that exist in SUID programs that call 'system()'
  455.     or 'popen()' to execute some commands. This replacement version of
  456.     'sh' is available both on aux.support.apple.com and jagubox.gsfc.nasa.gov.
  457.     To install it, follow these directions (assuming you are located in the
  458.     directory where the new 'sh' is located):
  459.  
  460.        $ cp /bin/sh /bin/Osh
  461.        $ cp sh /bin/sh
  462.  
  463.     For this to work, /bin/sh shouldn't be busy, so this should be done either
  464.     in Single-User mode (as long as root's shell isn't 'sh') or while in
  465.     A/UX Startup.
  466.  
  467.   o If you are connected to the Internet, it's a Good Idea to either use
  468.     either tcp_wrappers (on ftp.win.tue.nl) or inetd 1.8 (on jagubox), both
  469.     of which provide host access control (i.e. you can select which hosts can
  470.     exec which network daemons. While you are at it, the replacement version
  471.     of 'portmap' (also on ftp.win.tue.nl) is very easy to compile and is
  472.     recommended as well.
  473.  
  474.   o By all means, remove the Guest account. Check to make sure that there
  475.     are _no_ users with null-passwords in /etc/passwd.
  476.  
  477.   o The default distribution of A/UX has 'in.fingerd' SUID to root. Even
  478.     though it doesn't have the  famous Internet Worm problem, there's no
  479.     need for that. Much better to have it run as 'nobody'. You can do
  480.     this by either changing the owner of 'in.fingerd' to 'nobody' and
  481.     keeping it's SUID bit or you can remove the SUID capability and
  482.     tell 'inetd' to run it as 'nobody'. To do the later, you'll need to
  483.     use the new, unofficial replacement of 'inetd' for A/UX (see below:
  484.     "Performance Patches", "Ported s/w" and Q&A A.06). Jim Jagielski has
  485.     also ported a version of 'in.fingerd' that logs fingers. It's available
  486.     via anon-ftp on jagubox.gsfc.nasa.gov. Of course, the most secure option
  487.     is simply to disable 'in.fingerd' totally in '/etc/servers'.
  488.  
  489.   o Root should never use the common System Folder... Due to it's very
  490.     nature it's writable by everyone. Give root a personal System Folder
  491.     and sleep easier :)
  492.  
  493.   o A/UX doesn't support the 'sticky-bit' feature for directories. So
  494.     why not create a directory in your $HOME called '.tmp' with mode 700.
  495.     Now in /etc/profile add:
  496.  
  497.         if [ -d "$HOME/.tmp" ]; then
  498.             EXINIT="set directory=$HOME/.tmp"
  499.             export EXINIT
  500.             TMPDIR="$HOME/.tmp"
  501.             export TMPDIR
  502.         fi
  503.  
  504.     and in /etc/cshrc add:
  505.  
  506.         if ( -d "$HOME/.tmp" ) then
  507.             setenv EXINIT "set directory=$HOME/.tmp"
  508.             setenv TMPDIR "$HOME/.tmp"
  509.         endif
  510.  
  511.     Now most UNIX programs (like 'vi', 'elm', 'cc', 'gcc', etc...) will use
  512.     $HOME/tmp as a safer location for temp-files.
  513.  
  514.  
  515. =========================================================
  516. **** List of known bugs and patches under A/UX 3.x.x ****
  517. ---------------------------------------------------------
  518.  
  519. ~~~~~~~~~~~~~~~
  520. AWS Tune-Up 2.0
  521. ~~~~~~~~~~~~~~~
  522.     By far, this is the most important patch you could apply to A/UX 3.1.
  523.     It updates it to 3.1.1 and fixes lots of bugs as well as provides better
  524.     performance. The patch is in the form of 1 DiskCopy Image file which
  525.     can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
  526.     download the files and then use DiskCopy to make the Installer disks.
  527.     This is a _free_ upgrade to 3.1 and requires 3.1.
  528.  
  529.     On jagubox, look in ~ftp/pub/aux/Apple.fixes/supported
  530.  
  531. ~~~~~~~~~~~~~~~
  532. AWS Tune-Up 1.0
  533. ~~~~~~~~~~~~~~~
  534.  
  535.     By far, this is the most important patch you could apply to A/UX 3.0.1.
  536.     It updates it to 3.0.2 and fixes lots of bugs as well as provides better
  537.     performance. The patch is in the form of 2 DiskCopy Image files which
  538.     can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
  539.     download the files and then use DiskCopy to make the Installer disks.
  540.     This is a _free_ upgrade to 3.0.1 and requires 3.0.1.
  541.  
  542. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  543. Performance related patches: 3.x.x
  544. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  545.  
  546.     inetd:
  547.         ***            Unofficial replacement is available            ***
  548.         ***        on jagubox.gsfc.nasa.gov in pub/aux/Daemons        ***
  549.         ***      This replacement is based on the BSD-reno inetd      ***
  550.         ***  and allows such nice features as rereading /etc/servers  ***
  551.         ***        on receiving SIGHUP, specifying options for        ***
  552.         ***           called daemons,  logging when daemons           ***
  553.         ***     are spawned and which host requested the daemon       ***
  554.         ***            and providing host access control              ***
  555.         {{{{{                                                       }}}}}
  556.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  557.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  558.  
  559.     tc (tape driver device driver):
  560.         Reports incorrect file number when 'mt' is used to skip
  561.         files (fsf and/or bsf).
  562.         Doesn't allow for additional storage capability of extended
  563.         length tapes or hardware compression tape drives.
  564.         Doesn't work with Exabyte 8200s
  565.         ***                                                           ***
  566.         ***       An unofficial replacement version of 'tc' has       ***
  567.         ***     has been written that fixes these bugs as well as     ***
  568.         ***        providing additional capability and support        ***
  569.         ***                    for other drives                       ***
  570.         ***                                                           ***
  571.         ***               3.x.x replacement is available              ***
  572.         ***       on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff       ***
  573.         {{{{{                                                       }}}}}
  574.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  575.  
  576. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  577. Bugs and Fixes|Workarounds: 3.x.x
  578. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  579.  
  580.     ~lp/model/at_interface:
  581.         Incorrectly prints multiple copies of input. For example,
  582.         "lp file.1 file.2" would print 2 copies of file.1 and just
  583.         one of file.2.
  584.         ***    Due to '>>' being used instead of '>' in certain       ***
  585.         ***                 places in at_interface.                   ***
  586.         ***             Unofficial replacement is available           ***
  587.         ***        on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff      ***
  588.         ***       (entries in ~lp/interface based on at_interface     ***
  589.         ***               should also be changed/patched)             ***
  590.         {{{{{                                                       }}}}}
  591.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  592.  
  593.     atprint:
  594.         Doesn't correctly connect to the LaserWriter Pro 810.
  595.         ***              Official replacement is available            ***
  596.         ***      on ftp.support.apple.com in /pub/aws95/atprint       ***
  597.  
  598.     syslogd:
  599.         Doesn't handle some facility (like 'news') logging correctly.
  600.         ***             Unofficial replacement is available           ***
  601.         ***         on jagubox.gsfc.nasa.gov in pub/aux/Daemons       ***
  602.         ***       (contains new /etc/syslogd as well as syslog.h)     ***
  603.         {{{{{                                                       }}}}}
  604.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  605.  
  606.     in.telnetd:
  607.         Leaves ports open and hanging occasionally. Can cause kernel crashes.
  608.         ***            Unofficial replacement is available            ***
  609.         ***                 on jagubox.gsfc.nasa.gov                  ***
  610.         ***                   in pub/aux/Sys_stuff                    ***
  611.         {{{{{                                                       }}}}}
  612.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  613.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  614.         ####  Please note that it appears that this new version has  ####
  615.         ####    some slight bugs in correctly handling Synchs and    ####
  616.         ####     options negotiation. I have only seen this using    ####
  617.         #### VersaTerm Pro 3.6.2 and connecting to myself via telnet ####
  618.  
  619.     /etc/startup.d/ao,as,ae6:
  620.         Ignores the Broadcast Address value in /etc/NETADDRS.
  621.         ***      If your broadcast address needs to be different      ***
  622.         ***   then the default, you'll need to modify these scripts   ***
  623.         ***     to add 'broadcast "$broadcast"' to the 'ifconfig'     ***
  624.         ***     lines that _don't_ refer to Loopback. Pretty easy     ***
  625.         ***           but Email me if you have questions              ***
  626.  
  627.     /usr/include/dir.h:
  628.         If entered through dirent.h and _SYSV_SOURCE is defined,
  629.         rewinddir() is incorrectly "defined". It assumes that you are
  630.         linking -lposix and will use the "real" rewinddir() function
  631.         found there, when, in fact, you should #define rewinddir
  632.         as done with _BSD_SOURCE.
  633.         ***         A hacked version of dir.h is available on         ***
  634.         ***    jagubox.gsfc.nasa.gov. It only assumes -lposix will    ***
  635.         ***      be included (and the real rewinddir() called) if     ***
  636.         ***             _only_ _POSIX_SOURCE is defined               ***
  637.  
  638.     /usr/include/sys/file.h:
  639.         Even though fcntl.h is smart enough to know if sys/file.h has
  640.         been included, and won't redefine things defined in there, the
  641.         reverse isn't true. So if you include sys/file.h 1st and fcntl.h
  642.         next, no warnings will be given, but if you do the reverse, some
  643.         "redefine" warnings will be printed.
  644.         ***         A hacked version of file.h is available on        ***
  645.         ***    jagubox.gsfc.nasa.gov. It checks for __fcntl_h first   ***
  646.         ***  (if you are using 'gcc', you'll also need to snag it's   ***
  647.         ***        fixed header-file from jagubox: GNUfile.h)         ***
  648.  
  649.     /usr/include/sys/param.h:
  650.         MAXHOSTNAMLEN is defined as a ridiculously low value (32). It should
  651.         instead be set to what's "normal": 256.
  652.         ***     Fix is very simple... edit /usr/include/sys/param.h   ***
  653.         ***            and change the value from 32 to 256            ***
  654.         ***  (if you are using 'gcc', you'll also need to edit it's   ***
  655.         ***     include file [gcc/aux/?.?.?/include/sys/param.h]      ***
  656.  
  657.     /usr/include/sys/types.h:
  658.         Incorrectly defines size_t as signed int when every other header
  659.         file defines it as unsigned int.
  660.         ***     Fix is very simple... edit /usr/include/sys/types.h   ***
  661.         ***           and change it from signed to unsigned           ***
  662.  
  663. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  664. Bugs and Fixes|Workarounds: 3.1
  665. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  666.  
  667.     chsh:
  668.         Resets the uid of nobody to 60001 (the MAXUID under 3.1 is 65534,
  669.         but 'chsh' thinks it's 60001).
  670.         ***      Use 'vipw' to change this value back if needed       ***
  671.  
  672. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  673. Bugs and Fixes|Workarounds: 3.0.2
  674. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  675.  
  676.     elap:
  677.         A/UX-mac occasionally disappears under Chooser
  678.         ***            Official 3.0.2 patch is now available          ***
  679.         ***           on aux.support.apple.com in aws95/elap          ***
  680.  
  681. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  682. Performance related patches: 3.0
  683. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  684.  
  685.     MacOS System Heap Expansion:
  686.         Not as robust as the _real_ System 7.0.1 capability, thus pre-
  687.         venting you from loading lots of memory hungry Extensions and
  688.         CDEVs.
  689.         ***             Unofficial replacement is available           ***
  690.         ***                 on jagubox.gsfc.nasa.gov                  ***
  691.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  692.  
  693. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  694. Bugs and Fixes|Workarounds: 3.0
  695. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  696.  
  697.     as, ao, etheraddr:
  698.         H/W ethernet address is burned in bitwise reverse on Q9?0
  699.         and Ethernet NB card. Thus, ao, as and etheraddr reports the
  700.         incorrect address.
  701.         ***                 3.0 patch is now available                ***
  702.         ***         on aux.support.apple.com in supported/3.0         ***
  703.  
  704.     BNU/HDB UUCP (the whole thing):
  705.         Severe problems as distributed, such as inability to dialout
  706.         with correctly configured modem, etc...
  707.         ***                 3.0 patch is now available                ***
  708.         ***         on aux.support.apple.com in supported/3.0         ***
  709.         ***     This "patch" is a newer version of HDB (to 1.16)      ***
  710.         ***         and adds some Mega-enhancements as well.          ***
  711.         ***                Thanks to Earl Wallace!!!                  ***
  712.         #### If you snagged version 1.14 from aux.support.apple.com  ####
  713.         ####       then be _sure_ to update to version 1.16.         ####
  714.         ####                                                         ####
  715.         ####     Installing BNU 1.6 causes syslogd to break under    ####
  716.         ####    new compiles. This is due to the fact that dial.o    ####
  717.         ####   is replaced in libc.a|libc_s.a when BNU is installed  ####
  718.         ####         To fix, just get the replacement dial.o         ####
  719.         ####           on ftp.apple.com in pub/earlw/dial            ####
  720.  
  721.     csh:
  722.         Doesn't seem to like filename completion.
  723.  
  724.     pstat:
  725.         Depending on the options used, can gobble memory and not release
  726.         it.
  727.         ***             Unofficial replacement is available           ***
  728.         ***                 on jagubox.gsfc.nasa.gov                  ***
  729.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  730.  
  731.     rpc.rstatd:
  732.         Doesn't report correct load averages
  733.         ***             Unofficial replacement is available           ***
  734.         ***                 on jagubox.gsfc.nasa.gov                  ***
  735.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  736.  
  737.     serial drivers:
  738.         After some use on all Macs (except IIfx and maybe the Quadras)
  739.         the kernel will crash.
  740.         ***  This has been confirmed by Apple but no fix exists yet!! ***
  741.  
  742.     syslogd:
  743.         If BNU 1.6 is installed, syslogd won't work on newly compiled
  744.         programs due to some munging of libc.a|libc_s.a when BNU 1.6
  745.         is installed. See BNU/HDB UUCP above.
  746.  
  747.  
  748. =========================================================
  749. **** List of ported software available via anon-ftp: ****
  750. ---------------------------------------------------------
  751.  
  752. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  753. Already ported and available:
  754. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  755.  
  756. (Included is the person responsible for the port and the location of the port)
  757.  
  758.     3270 (v3.6):
  759.         Eric C Hagberg          (hagberg@mail.med.cornell.edu)
  760.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  761.  
  762.     Austin KCL (619):
  763.         Thomas Weigert          (weigert@mcs.anl.gov)
  764.         wuarchive.wustl.edu     [???]
  765.  
  766.     bash (1.12):
  767.         John Coolidge           (coolidge@apple.com)
  768.         wuarchive.wustl.edu     [systems/aux/gnu]
  769.  
  770.     Berkeley make:
  771.         Phillip P. Porch        (root@theporch.com)
  772.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  773.  
  774.     Berkeley mandoc:
  775.         Phillip P. Porch        (root@theporch.com)
  776.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  777.  
  778.     cut & paste (BSD versions):
  779.         Ken Whang               (ken@touch.wustl.edu)
  780.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  781.  
  782.     EBBS/BBS 2.2 (UNIX based BBS):
  783.         Jon Stevens             (root@dolphin.csudh.edu)
  784.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  785.  
  786.     emacs 19.21:
  787.         Brent Burton            (brentb@tamsun.tamu.edu)
  788.         isc.tamu.edu            [pub/personal/brentb]
  789.         (The diffs that Brent used, done by Paul Traina, are available
  790.         on jagubox in the emacs diffs "collection" tarchive)
  791.  
  792.     fortune:
  793.         Phillip P. Porch        (root@theporch.com)
  794.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  795.  
  796.     freeWAIS (0.3):
  797.         Jon Stevens             (root@dolphin.csudh.edu)
  798.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  799.  
  800.     fvwm (1.21z):
  801.         Renzo Marcanzin         (aire@maya.dei.unipd.it)
  802.         maya.dei.unipd.it       [pub?]
  803.  
  804.     gated (2.1.3)
  805.         Herb Weiner             (herbw@wiskit.com)
  806.         jagubox.gsfc.nasa.gov   [pub/aux/Patches]
  807.  
  808.     gcc (2.6.3):
  809.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  810.         John Coolidge           (coolidge@apple.com)
  811.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  812.         (See Q&A #P.03)
  813.  
  814.     gdb (4.12):
  815.         John Coolidge           (coolidge@apple.com)
  816.         wuarchive.wustl.edu     [systems/aux/gnu]
  817.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  818.  
  819.     GNUplot (3.5):
  820.         Eric Rosen              (eric@cse.ucsc.edu)
  821.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  822.  
  823.     GNUtar (1.11.2):
  824.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  825.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  826.  
  827.     GNUzip (1.2.4):
  828.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  829.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  830.  
  831.     httpd (1.3):
  832.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  833.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  834.  
  835.     inetd (BSD/Reno)
  836.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  837.         John Coolidge           (coolidge@apple.com)
  838.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  839.  
  840.     last (BSD version):
  841.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  842.         Ken Whang               (ken@touch.wustl.edu)
  843.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  844.  
  845.     lemacs (19.6):
  846.         Thomas Eberhardt
  847.         labrea.Stanford.EDU     [pub/gnu/lucid]
  848.         <<ED: I don't think it's there anymore... anybody know
  849.           where a copy might be?>>
  850.  
  851.     libg++ (2.5.3):
  852.         John Coolidge           (coolidge@apple.com)
  853.         wuarchive.wustl.edu     [systems/aux/gnu]
  854.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  855.  
  856.     logging in.ftpd:
  857.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  858.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  859.         (See Q&A #A.06)
  860.  
  861.     md5:
  862.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  863.         jagubox.gsfc.nasa.gov   [pub/aux/Security]
  864.  
  865.     Mosaic (diffs for 2.2):
  866.         Eric Rosen              (eric@cse.ucsc.edu)
  867.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  868.  
  869.     Mosaic (2.4 binary):
  870.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  871.  
  872.     msgs:
  873.         Phillip P. Porch        (root@theporch.com)
  874.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  875.  
  876.     mt2 (replacement for 'mt' tape positioner program... not really
  877.       needed since NEWtc is available that fixes the need for mt2):
  878.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  879.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  880.  
  881.     mtools (MS DOS floppy access tools):
  882.         Parag Patel             (parag@netcom.com)
  883.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  884.  
  885.     patch:
  886.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  887.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  888.  
  889.     perl (4.036):
  890.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  891.  
  892.     pine 3.90:
  893.         Phillip P. Porch        (root@theporch.com)
  894.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  895.  
  896.     popper:
  897.         Ben Goren               (ben@tux.fa.asu.edu)
  898.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  899.  
  900.     popper-shadow:
  901.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  902.  
  903.     sendmail 5.65:
  904.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  905.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  906.         (See Q&A #C.02)
  907.  
  908.     sendmail.cf:
  909.         Alexis Rosen            (alexis@panix.com)
  910.         jagubox.gsfc.nasa.gov   [pub/aux/UUCP-sendmail-cf]
  911.         (See Q&A #A.06)
  912.  
  913.     shadow-passwd:
  914.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  915.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  916.  
  917.     showaudio:
  918.         Eric Rosen              (eric@cse.ucsc.edu)
  919.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  920.  
  921.     smail 3.1.28:
  922.         Bob Denny               (denny@alisa.com)
  923.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  924.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  925.  
  926.     talk and talkd (BSD 4.3 versions)
  927.         Steve Green             (xrsbg@dirac.gsfc.nasa.gov)
  928.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  929.         (See Q&A #C.05)
  930.  
  931.     tcsh (6.03):
  932.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  933.  
  934.     texinfo (3.1):
  935.         Phillip P. Porch        (root@theporch.com)
  936.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  937.  
  938.     vtwm (5.1):
  939.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  940.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  941.  
  942.     WUARCHIVE ftpd (2.4):
  943.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  944.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  945.         (See Q&A #A.06)
  946.  
  947.     X11R5:
  948.         John Coolidge           (coolidge@apple.com)
  949.         Thomas Eberhardt
  950.         wuarchive.wustl.edu     [systems/aux/X11R5]
  951.         ftp.uni-stuttgart.de    [soft/mac/aux/x11r5/forAUX3.0]
  952.         (See Q&A #P.02)
  953.  
  954.     xmeter:
  955.         Eric Rosen              (eric@cse.ucsc.edu)
  956.         jagubox.gsfc.nasa.gov   [pub/aux/Utilties]
  957.  
  958.     xntpd (3.3zd):
  959.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  960.         John Dundas III         (dundas@salt.jpl.nasa.gov)
  961.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  962.  
  963.     zmodem:
  964.         Jon Stevens             (root@dolphin.csudh.edu)
  965.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  966.  
  967. ~~~~~~~~~~~
  968. Easy to do:
  969. ~~~~~~~~~~~
  970.  
  971. The following have also been successfully ported to A/UX with minimal trouble.
  972. Since the ports are pretty straightforward, only a few are actually available
  973. in their ported form (please see Q&A #P.01).  Please note that most of these
  974. require or assume using 'gcc.'
  975.  
  976. << ED: As a general rule of thumb, most of the ports that I've done use
  977.        gcc and GNUmake... provided patches may assume or require these >>
  978.  
  979.     o  Cnews (Ver. ??)
  980.     o  Deliver (v2.1 pl. 9 or later)
  981.     #  Elm 2.4.23
  982.          (use -lbsd and edit config.sh and "undef" d_locale or else
  983.           follow the advice of P.08, below)
  984.     o  Ghostscript 2.3
  985.     #  GNU Stuff (all are pretty much straight-forward and compile
  986.        "right out of the box"):
  987.          binutils 1.9
  988.     #    bison 1.22
  989.     #    diffutils 2.3
  990.          emacs 19.[19-22]
  991.            (diffs on jagubox in the emacs diffs "collection" tarchive)
  992.     #    fileutils 3.6
  993.     #    find 3.8
  994.            (to allow 'find' to recognize user=nobody, compile with 'cc')
  995.          flex 2.3.7
  996.          gawk 2.1.5
  997.            (use '-traditional' with gcc)
  998.     #    gdbm 1.7.1
  999.     #    grep 2.0
  1000.     #    gzip 1.2.4
  1001.     #    indent 1.9.1
  1002.     #    make 3.71
  1003.     #    pgp 2.6/2.6.1 (from bitsy.mit.edu)
  1004.     #    ripem 1.2 (from ripem.msu.edu)
  1005.     #    sed 1.1.6
  1006.     #    sed 2.0.3
  1007.          shellutils 1.8
  1008.          Smalltalk 1.1.1
  1009.     #    tar 1.11.2
  1010.            (requires '-lbsd -lposix')
  1011.     #    textutils 1.6
  1012.     #  gopher/gopherd 2.016 [from boombox.micro.umn.edu]
  1013.          (diffs available on jagubox)
  1014.     o  Gwm 1.7h
  1015.     #  httpd 1.3 [from ftp.ncsa.uiuc.edu]
  1016.          (binary and diffs available on jagubox)
  1017.     o  INN 1.4 (get 'INN.config.data' files from jagubox)
  1018.          Please note that INN is an _extreme_ memory hog, esp.
  1019.          when compiled using gcc. If you use it, be _sure_
  1020.          that you have enough memory and swap space. It helps
  1021.          a LOT if you don't run the Finder interface as well.
  1022.     #  less 177
  1023.     #  listproc 6.0c (was: listserv)
  1024.          (compile w/ -DDONT_GO_INTERACTIVE; and use GNUmake)
  1025.     #  lynx 2.3 [from FTP2.cc.ukans.edu]
  1026.          (diffs available on jagubox)
  1027.     #  NetHack
  1028.     #  nn 6.4.18
  1029.          (A/UX configuration file available on jagubox)
  1030.     #  nn 6.5.0(b3)
  1031.          (A/UX configuration file available on jagubox)
  1032.     #  nntp 1.5.11
  1033.     #  perl 4.035
  1034.          (use '-lm -lPW -ldbm -lbsd', get "fixed" dir.h to
  1035.          avoid needing -lposix for rewinddir(), use gcc if
  1036.          possible, make sure d_voidsig is correct ("define" if
  1037.          using ANSI, "undef" if not), and undef d_ndbm while
  1038.          defining d_dbm in config.sh).
  1039.     #  perl 4.036
  1040.          (Don't answer "aux" but instead let the configure script
  1041.          work it's magic -- hints for 4.035 also apply)
  1042.     #  portmap ("secure" version on ftp.win.tue.nl).
  1043.     #  rn 4.3.54
  1044.     #  rn 4.4.1
  1045.     o  SB Prolog 3.1
  1046.          (minor changes in the builtin directory)
  1047.     #  smail 3.1.28
  1048.          (get the AUXsmail.tar.gz file on jagubox for
  1049.          A/UX diffs and patches)
  1050.     #  tcpd 6.3 [from ftp.win.tue.nl]
  1051.     #  tcsh (compiles out of the box)
  1052.     #  trn 3.0
  1053.     #  xntpd (see above)
  1054.  
  1055. //////////////////////  END OF PART 1 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  1056. -- 
  1057. #include <std/disclaimer.h>
  1058.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  1059.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  1060.                      << Put the moon BACK, demon waif! >>
  1061. Archive-name: aux-faq/part2
  1062. Last-modified: Mon Mar  6 09:44:03 EST 1995
  1063.  
  1064.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  1065.  
  1066.  
  1067. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 2 OF 4 //////////////////////
  1068.  
  1069. ========================================================
  1070. **** Partial list of compatible shareware|freeware  ****
  1071. --------------------------------------------------------
  1072.  
  1073. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1074. Popular shareware|freeware:
  1075. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1076.                 ++++ This is by No Means a complete list!!! ++++
  1077.  
  1078.     o  BBEdit Lite (2.31) - _really_ nice and good replacement for TextEditor
  1079.         (see Hints and Words Of Wisdom)
  1080.     o  CFloppy (1.0)
  1081.     o  ColorSwitch (2.3.0)
  1082.     o  Disinfectant INIT (3.5)
  1083.     o  DiskDup+ (2.52) - works better than DiskCopy and MountImage
  1084.     o  Extension Manager (1.8 and later)
  1085.     o  Facade (1.x)
  1086.     o  File Buddy (2.2.1)
  1087.     o  FMbackup 1.0.4  (prevents having to totally rebuild Desktop when A/UX
  1088.         crashes... See Q&A #M.10)
  1089.     o  GateKeeper (1.3) - For some reason, "Show Log" doesn't work although
  1090.         log entries _are_ made. Chris Johnson knows about this and is
  1091.         looking into it.
  1092.     o  Gregs Buttons (3.3)
  1093.     o  MacsBug (6.2.x)
  1094.     o  Maelstrom (1.40) - crashes sometimes, but heck it does that under MacOS
  1095.         as well :)
  1096.     o  MenuChoice (2.0)
  1097.     o  NewLook (2.0)
  1098.     o  Solarian II (1.04)
  1099.     o  Windows (2.1)
  1100.  
  1101. ~~~~~~~~~~~~~~~~~~~
  1102. Popular commercial:
  1103. ~~~~~~~~~~~~~~~~~~~
  1104.  
  1105. The following is a _very_ short list of some known compatible 3rd party
  1106. applications, CDEVs, Extensions, etc... This is by no means a complete list
  1107. since the vast majority of MacOS programs work just fine under A/UX (see
  1108. Q&A #M.01). But the following ones are kinda popular and they get asked about
  1109. alot:
  1110.  
  1111.     o  Access PC (2.0) (v3.0 is NOT recommended for A/UX)
  1112.     o  After Dark (2.0u and later) - some displays don't have enough
  1113.         memory to work so the default (low memory) one comes up
  1114.     o  America Online (even the TCP/IP version)
  1115.     o  ATM 2.0.3
  1116.     o  ATM 3.0
  1117.     o  Directory Assitance II (from Norton Utilities)
  1118.     o  DOS Mounter (3.00) - but _boy_ does it slow down floppy disk access!
  1119.     o  FrameMaker
  1120.     o  Illustrator 3.2
  1121.     o  MicroSoft Excel
  1122.     o  MicroSoft PowerPoint
  1123.     o  MicroSoft Word
  1124.     o  Now Utilities 4.0.2
  1125.  
  1126.         Super Boomerang doesn't seem to like 3.0)
  1127.  
  1128.     o  PC Exchange (1.0.3 and later)
  1129.     o  Photoshop 2.0.1 <mostly> (Gamma, which is included, does _not_ work)
  1130.     o  Premiere 1.0
  1131.     o  Soft PC (Regular, Professional and Windows)
  1132.     o  Square One v2.0 (good replacement for Super Boomerang)
  1133.     o  StrataVision 3D 2.6.1 (requires the patch located via anon-ftp
  1134.         on jagubox in pub/aux/Patches)
  1135.     o  Streamline 2.0 <mostly... not 32-bit clean>
  1136.     o  StuffIt (and all permutations such as Expander, Deluxe, etc...)
  1137.     o  Timbuktu Pro (all other versions including v5 have problems)
  1138.     o  Type Reunion 1.3
  1139.     o  VersaTerm Telnet (etc...) Tool
  1140.     o  WordPerfect 3.1 (wordperfect is _very_ serious in assuring that
  1141.        it remains compatible as well!)
  1142.  
  1143.  
  1144. ====================================
  1145. **** Hints and Words Of Wisdom: ****
  1146. ------------------------------------
  1147.  
  1148. o Depending on your setup, A/UX allocates either 10% or 50% of memory for disk
  1149.   buffers (that is, the value of 'NBUF' is either 0 or -1... see kconfig(1M))
  1150.   [The kernel for the AWS95 has, by default, a NBUF value of -1 whereas
  1151.   "everyone else" has NBUF = 0]. If you have a lot of RAM and A/UX is only
  1152.   allocating 10%, you can greatly increase system performance by increasing
  1153.   the allotment. However, you cannot use kconfig to specify "20%" but you must
  1154.   give it an actual number to use. The way to determine the number of buffers
  1155.   being used, run "pstat -m". This will give you the number of buffers that
  1156.   are currently allocated. For example, if the value is 1000, then you know
  1157.   that to increase the number of buffers to 20%, you must use 'kconfig' to set
  1158.   'NBUF' to 2000. Under 3.0.2 (and later), you can use the Memory cdev (as
  1159.   root) to do this as well. In fact, this is the recommended way.
  1160.  
  1161.   Please note that if you change the amount of RAM you have, you'll need to
  1162.   change the value of 'NBUF.' I suggest that before you add|remove RAM, you
  1163.   use 'kconfig' to reset 'NBUF' to 0, then do the RAM change and see how your
  1164.   system performance is. If needed, you can then use the above to increase
  1165.   (or decrease) the number of disk buffers.
  1166.  
  1167. o You can run A/UX on the original MacII, however the PMMU chip must be
  1168.   installed. You can also use one of the many 68030 upgrades for the MacII,
  1169.   such as the Marathon '030, but the MacII ROMs won't recognize the PMMU
  1170.   capabilities onboard the CPU. You'll need to get the MacII FDHD ROM Upgrade
  1171.   Kit. This kit replaces your ROMs with IIx ROMs, thus enabling you (and
  1172.   A/UX) to use the upgrade. The kit also replaces your SWIM chip (floppy
  1173.   controller) enabling you to use FDHD disks (if such a drive is installed)
  1174.   too... thus the name of the kit. This kit can be had for about $120 although
  1175.   some dealers also include a FDHD drive as well, bumping the price up to
  1176.   about $430.
  1177.  
  1178. o You can configure the built-in serial ports for hardware handshaking
  1179.   (RTS & DTS) _or_ dialup security (DTR & CD) but not both, due to the
  1180.   lack of a sufficient number of modem control lines.
  1181.  
  1182. o When using ftp, unless you are _sure_ that a file is, in fact, a true
  1183.   Text file, set the ftp mode to Binary. This is especially true when
  1184.   downloading GIFs and "true" Mac files. If it's a BINHEXed file or a
  1185.   uuencoded file, then you can specify Ascii mode (in some cases, it's
  1186.   required). If the file you wish to download has the ".tar" or ".Z" suffix,
  1187.   then you _need_ Binary; if the suffix is ".uu" or ".hqx" then use Ascii.
  1188.   If you are using a MacOS-ftp utility, then using MacBinary may confuse A/UX
  1189.   (well, the Unix side of it). If the file is a tar file (for example),
  1190.   compressed or not, MacBinary attaches some MacOS "information" to the file
  1191.   that tar can't handle. Use 'fcnvt' to change the file to Apple Double to
  1192.   "strip" this extra by separating the forks:
  1193.   
  1194.     $ fcnvt -v -d <input.file> <output.file>
  1195.  
  1196.   To avoid having A/UX attempt the CR->NL change when copying the file over to
  1197.   A/UX, change the Creator to "A/UX" and Type to "BIN " before drag-copying
  1198.   the file.
  1199.  
  1200.   So, the flow should be as follows:
  1201.  
  1202.     o Set the file's Creator and Type to something safe ("A/UX"
  1203.       and "BIN ") to avoid CR->NL translation.
  1204.     o Drag copy over to A/UX.
  1205.     o Use 'fcnvt' to convert file to Apple Double format.
  1206.     o Use UNIX utilties as normal.
  1207.  
  1208. o To download GIF files via anon-ftp, be sure to specify Binary mode. Then
  1209.   use 'setfile' to create the correct Type and Creator fields (for, example,
  1210.   for Giffer use 'setfile -t"GIFf" -c"Bozo"'). You can then keep this file
  1211.   on your A/UX disk or transfer it over to your MacOS disk (See Q&A #M.07).
  1212.  
  1213. o If you want to rebuild the "/" desktop, be _sure_ to avoid circular
  1214.   symbolic links (links to "." and/or "..") or else you'll be waiting a
  1215.   looooong time. In a similar way, make sure that you don't have NFS volumes
  1216.   mounted because they will add a LOT to the time required to rebuild the
  1217.   Desktop...
  1218.  
  1219. o With the newest version of HDB UUCP (1.16 - see above), use the "-u"
  1220.   option on 'getty' to keep /dev/tty?? settings sane. Also use the "-t" option
  1221.   with a value like 60 or so to make getty hang up a hung login attempt.
  1222.  
  1223. o If your A/UX setup is a true multi-user system, or, at the least, has
  1224.   Guest as an active account, it is a Very Good Idea to give each user their
  1225.   own personal System Folder (use 'systemfolder'). This is _very_ true for
  1226.   root! As root, you should also avoid using the global System Folder
  1227.   (mac/sys/System Folder) as an alternate Sys. Folder... there's very little
  1228.   need to do so anyway.
  1229.  
  1230.   Oh yeah... you can't just copy /mac/sys/System Folder to something like
  1231.   $HOME/System Folder... you must use 'systemfolder' and add/change/delete
  1232.   things as required.
  1233.  
  1234. o It's very easy to replace TextEditor as your Finder-double-click text
  1235.   editor. All you need to do is copy the application to /mac/bin (make sure
  1236.   that it's permissions are 755 bin|bin), edit /etc/profile and /etc/cshrc
  1237.   to change FINDER_EDITOR to point to the application. Now, A/UX text files
  1238.   will show up as that application's filetype. An _excellent_ replacement is
  1239.   BBEdit Lite (v 2.31). It is really recommended!
  1240.  
  1241. o A/UX's 'login' supports additional dialup security. This is enabled by
  1242.   creating|editing two files: /etc/dialups and /etc/d_passwd. The format of
  1243.   /etc/dialups is a list of ports that you want to have dialup passwds. eg:
  1244.  
  1245.     /dev/tty0
  1246.     /dev/tty10
  1247.  
  1248.   The format of /etc/d_passwd is a list which associates a password with
  1249.   a login program (which is the last field in /etc/passwd). eg:
  1250.  
  1251.     /bin/sh:&nk7h7ak92j3H:
  1252.     /bin/ksh:8hw$jK4ft92jx:
  1253.     /bin/csh::
  1254.     /usr/lib/uucp/uucico::
  1255.  
  1256.   In this case, if anyone attempts to login on ports tty0 or tty10 and are
  1257.   using 'ksh' or 'sh', they'll get asked for a secondary (dialup) password.
  1258.   Users using 'csh' or 'uucico' will not. All other logins that use login
  1259.   programs not entered in /etc/d_passwd (like, for example,
  1260.   /usr/local/bin/bash) will _not_ be allowed to login on the "secure" port.
  1261.  
  1262. o If you want to install a program that uses a "complex" installation
  1263.   procedure (like for Canvas, Word, Stuffit, etc...) then you should not
  1264.   try to do a fresh install under A/UX. Instead, install under the real MacOS,
  1265.   reboot A/UX and then install needed files to your A/UX System Folder.
  1266.   Programs that, when installed, hack around with the System (beyond things
  1267.   like Fonts) itself, most probably won't work under A/UX, since you really
  1268.   can't patch System (unless you are handy with ResEdit and know exactly
  1269.   what resources to add|change... even then, you are taking a chance...)
  1270.  
  1271. o If you get an error message to the effect that you have a bad SuperBlock
  1272.   when doing a 'fsck' on a disk, try having 'fsck' use another SuperBlock.
  1273.   Block #16 is always an alternate SuperBlock block, so you can try:
  1274.  
  1275.     $ fsck -b 16 /dev/rdsk/cxxxxxxxx
  1276.  
  1277. o A/UX has two versions of the setpgrp() call. The first is the standard
  1278.   SysV version and takes no arguments. The other is the standard BSD version
  1279.   and takes 2 arguments (setpgrp(pid, gpid)). However, if, when porting
  1280.   programs, you have added the 'set42sig()' call, or link with -lbsd, then
  1281.   you _must_ use the 2nd form (actually, the 2nd form is required whenever
  1282.   COMPAT_BSDTTY and COMPAT_BSDSIGNALS are set); the 1st form will usually
  1283.   fail. A non-portable way of handling this is always calling setpgrp() as
  1284.   follows:
  1285.  
  1286.     setpgrp(0, getpid());
  1287.  
  1288.   Now, no matter what the compatibility flags are, the function will work
  1289.   ('cc' and 'gcc' under A/UX presently ignores the passed arguments when the
  1290.   no-argument version is called).
  1291.  
  1292. o It's always a Good Idea to keep "original" stuff separate from locally
  1293.   added or modified stuff. '/usr/local' is a very good place for this.  To
  1294.   add manual pages to this location, create a '/usr/local/man' directory.
  1295.   Now make a symbolic link from '/usr/catman/L_man' to '/usr/local/man'. This
  1296.   does two things: (1) Allows 'man' to search down the '/usr/catman' directory
  1297.   to find your local man pages while keeping the actual data under
  1298.   '/usr/local'; (2) The local man-page set will be searched first (due to
  1299.   the name L_man) as would be desired. If you _really_ want, you can also
  1300.   make '/usr/local/catman' a link to '/usr/local/man'.
  1301.  
  1302. o If you've added a number of additional man pages, you may want to snag the
  1303.   'man-utils' package on jagubox.gsfc.nasa.gov. It includes a collection of
  1304.   programs and scripts that make viewing, installing and making man pages
  1305.   easier. Also includes a replacement for '/usr/bin/man'.
  1306.  
  1307. o Some 'configure' scripts may fail due to some line-length and symbol-length
  1308.   limitations in /bin/sh (you'll see something like a "symbol too long"
  1309.   error). You can get around this by changing the script type from:
  1310.  
  1311.     #!/bin/sh
  1312.  
  1313.   to:
  1314.  
  1315.     #!/bin/ksh
  1316.  
  1317.   to run them as 'ksh' scripts... In fact, I personally think it's better
  1318.   to run _all_ 'sh' scripts as 'ksh' scripts if possible ;)
  1319.  
  1320. o IMHO, Courier and Monaco really don't look that nice for CommandShell
  1321.   windows. Monoca is too plain and Courier takes up too much room on the
  1322.   window (and with both, it's hard to see "."s, hard to tell the difference
  1323.   between "O" and "0", etc...). I use a font called CSFont here on jagubox.
  1324.   It's a tweaked version of the old, original Courier bitmaps that Apple
  1325.   used to provide. I really like it. It's available via anon-ftp here on
  1326.   jagubox in /pub/aux/Misc_stuff. I'm currently working on tweaking a
  1327.   Bold version of CSFont... stay tuned :)
  1328.  
  1329. o If you are doing any in-depth porting, then do yourself a favor and snag
  1330.   a copy of libUTIL.a from jagubox. libUTIL.a is a collection of many
  1331.   functions that aren't included in the standard A/UX libraries, but are
  1332.   needed (or very useful) when porting (esp. BSD sources or ANSI stuff). Some
  1333.   examples of included functions are memmove(), strerror(), strdup() and
  1334.   more. If you have a suggested function to include, let Jim Jagielski
  1335.   (jim@jagubox.gsfc.nasa.gov) know.
  1336.  
  1337. o In order to get the WWW-browser Netscape to work correctly under A/UX,
  1338.   you need to make sure a few things are right. First of all, make sure
  1339.   that your Preferences are setup correctly: your Temp and Cache directory
  1340.   should be set and _must_ be located on a MacOS disk, not under the A/UX
  1341.   file system; your Helper applications must be selected as well. Failure
  1342.   to do this can cause Netscape not to view graphics correctly.
  1343.  
  1344.   You should also move the 'Netscape f' folder from the Preferences folder
  1345.   in System Folder to the actual Netscape folder... Having it located in
  1346.   Preferences will prevent Netscape from remembering certain settings, such
  1347.   as Bookmarks.
  1348.  
  1349.  
  1350. ==============
  1351. **** Q&A: ****
  1352. --------------
  1353.  
  1354. :::::::::::::::::::::::::::::
  1355. ::::: GENERAL QUESTIONS :::::
  1356. :::::::::::::::::::::::::::::
  1357.  
  1358. ===================================
  1359. G.01)  What's A/UX? Is it any good?
  1360. -----------------------------------
  1361.  
  1362. A/UX is Apple's implementation of Unix (it's Apple's UNix) for various
  1363. Macintosh computers. A/UX merges two computing environments, Unix and the
  1364. Macintosh Finder OS, and provides the full functionality of both.
  1365.  
  1366. A/UX is based on AT&T Unix System V.2.2 with numerous extensions from V.3, V.4
  1367. (such as streams) and BSD 4.2/4.3 (such as networking, the Fast File System,
  1368. job control, lpr, NFS with Yellow Pages, SCCS and sendmail 5.64).  It also
  1369. provides full POSIX compliance. A/UX provides SYSV, BSD and POSIX compatiblity
  1370. switches and libraries. A/UX is fully compiant with the System V Interface
  1371. Definition (SVID).
  1372.  
  1373. A/UX provides all three standard shells: sh, csh and ksh. X-Windows is also
  1374. provided standard.
  1375.  
  1376. A/UX 3.x.x incorporates System 7 for the Macintosh allowing for the use of
  1377. the vast majority of Macintosh applications under A/UX. System7 and Unix
  1378. and fully integrated under A/UX 3.x.x with the Unix file system being seen as
  1379. a disk drive by the Finder.
  1380.  
  1381. There are quite a few people who feel that A/UX is a near-perfect implemen-
  1382. tation of Unix. Of course, every operating system (even AIX!) has it's share
  1383. of devotees, so that's not a very valid scale of whether the system is any
  1384. good. A/UX _is_ Unix... it's not some form of pseudo-Unix. It insulates the
  1385. user from Unix, if required, but the System Administrator will need to become
  1386. Unix-aware. Furthermore, if you want straight Unix, you can get it... it's
  1387. not a chore to bypass all the "gingerbread." People may also complain that
  1388. A/UX is based on an "obsolete" version of AT&T Unix (V.2.2). In many ways,
  1389. Apple's extensions make A/UX very V.3-like (V.3 is in many ways an enhanced
  1390. V.2... it even uses the V.2 kernel)... The list of extensions to A/UX are
  1391. impressive. Compare what you get standard with other systems and you'll be
  1392. shocked! On some, 'cc', 'f77', NFS, etc... are costly options.
  1393.  
  1394. The main consideration (and opposition) to A/UX is the platform it runs on:
  1395. The Macintosh. Some consider this a boon, others a bust. At present, Apple's
  1396. top-level workstation is the Quadra 800, a 33MHz 68040 based system. Some
  1397. consider this obsolete; others consider it overkill; others consider it, like
  1398. Goldilocks, "just right."
  1399.  
  1400. If you need super-fast state-of-the-art number crunching capability then A/UX
  1401. may not be for you... the Q800 benchmarks at maybe 10-16 SPECmarks (depending
  1402. on compiler used, external cache size, etc...) and you can get lots faster
  1403. with other platforms. Of course, you'll have to "settle" for their operating
  1404. systems, but if you need it, then that's how you'll get it.  Of course, this
  1405. doesn't mean that A/UX "crawls"...
  1406.  
  1407. There are very few people who need this type of performance though. If you
  1408. need (or just _want_ ) a Unix workstation with the speed and power of Unix
  1409. and the user interface and application selection of the Macintosh then A/UX
  1410. is the way to go. In many, many ways, A/UX is the Unix "for the rest of
  1411. us"... even if we are long-time Unix junkies. If you love the Mac, you'll
  1412. love A/UX; if you love Unix, you'll love A/UX... and if you want a near-
  1413. perfect marriage of the two, then you'll love A/UX.
  1414.  
  1415. Yes, A/UX is good... very, very good :)
  1416.  
  1417. ========================================================================
  1418. G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  1419. ------------------------------------------------------------------------
  1420.  
  1421. A/UX 3.0 works on the MacII (with PMMU _or_ 68030 upgrade with FDHD ROM's
  1422. installed), IIx, IIcx, IIci, IIfx, SE/30, IIsi (with 68882 chip) and the
  1423. Quadra 700|900|950 computers. A/UX 3.0.1 (and later) adds support for the
  1424. Q800 and Centris Machines (the Centrises _must_ have the real 68040 w/FPU -
  1425. See Q&A #G.03).  A/UX does not support the ClassicII, PowerBook, Duo or LC
  1426. families.  A/UX does _not_ work on _any_ of the -AV or PowerMac machines but
  1427. will run on the Quadra 610 and 650s (recall that A/UX requires the _real_
  1428. 68040 chip!) with a little bit of work:
  1429.  
  1430.   You should make a copy of the A/UX Install Boot floppy and then copy the
  1431.   Enabler for the Q610|650 onto this copy. You then boot up from this floppy
  1432.   and install A/UX as usual. Finally, you'll need to copy the Q610|650
  1433.   Enabler onto the A/UX MacPartition (or whatever MacOS disk you will use
  1434.   when starting up your Mac and booting A/UX); do this by first booting off
  1435.   a boot floppy or boot CD and then copy the Enabler over. You do _not_ need
  1436.   to make any changes to the A/UX System Folder (i.e. the System Folder used
  1437.   under A/UX).
  1438.  
  1439. Recall that A/UX _is_ UNIX and thus contains some very hardware specific
  1440. drivers. It's for this reason (and not Apple not doing things correctly) that
  1441. A/UX won't work on newly released platforms. To support a new platform, at
  1442. least _some_ work (and possibly extensive work in some cases) must be done.
  1443.  
  1444. If you really want to cut it close, 8MB RAM and an ENTIRE 80MB hard disk will
  1445. just make it. You'll have little room for user files (unless you clear out
  1446. some space by removing /games and maybe /catman) and depending on your
  1447. workload, may suffer from low performance (due to swapping... you may even
  1448. encounter the infamous swap messages :)
  1449.  
  1450. A much better system would be 16MB of RAM and about 200MB of disk space.
  1451. This would give you much more room to grow as well as sufficient RAM to
  1452. increase your performance (assuming that you tune some kernel parameters).
  1453. All in all, more RAM is prefered: 20MB (or more) is ideal.
  1454.  
  1455. ===================================
  1456. G.03)  What's new about A/UX 3.x.x?
  1457. -----------------------------------
  1458.  
  1459. A/UX 3.x.x incorporates the full functionality of System7. It supports the
  1460. QuickTime multimedia extension and the new Mac Quadra computers (not the AV
  1461. machines, however). A/UX 3.x.x includes X11R4 in it's distribution, as well
  1462. as MacX. Installation of A/UX is much easier that it was before and can be
  1463. installed on any 3rd party hard disk using the "new and improved" HD Setup
  1464. application (see Q&A #A.16 though).
  1465.  
  1466. 3.0.2 is a later version of A/UX. 3.0.1 added support for the Q800 and
  1467. the Centris machines (650 and 610) as long as they have the _real_ 68040 chip
  1468. (68RC040) installed (Support for the C650 is official; support for the C610,
  1469. which _requires_ the 040 be replaced since none have the required one
  1470. installed, is non-official but known and verified). A/UX 3.0.2 will also run
  1471. on the Quadra 610 and 650; see G.02 to see how. To get 3.0.2, you'll need to
  1472. install 3.0.1 and then apply the AWS Tune-Up 1.0 to upgrade to 3.0.2. This
  1473. upgrade is free.
  1474.  
  1475. 3.1.1 is the latest version of A/UX. 3.1.1 greatly improves performance and
  1476. reliability as well as fixes some bugs. It does not, however, add support for
  1477. any other Macs. 3.1.1 is "tweaked" for the AWS95, but can be run on other
  1478. non-AWS95 Macs as well (see Q&A G:09). A/UX 3.1.1 is a "tuned-up" version
  1479. of A/UX 3.1, which is, itself, a improvement over 3.0.1/3.0.2 (in fact,
  1480. 3.1 contains all the fixes in 3.0.2)
  1481.  
  1482. 3.0.1, in addition to supporting newer Macs, provides performance boosts, bug
  1483. fixes, better Finder emulation and other enhancements over 3.0. 3.0.2 does
  1484. the same for 3.0.1. The upgrade from older versions of A/UX to 3.0.2 really
  1485. _is_ worth the pretty small amount of money required. 3.0.2 is a better and
  1486. more solid performer, both UNIX-wise and Finder-wise, than it's predecessors.
  1487. 3.1 requires 3.0.1|3.0.2 and provides much better performance and should be
  1488. seriously considered!
  1489.  
  1490. ====================================================
  1491. G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  1492. ----------------------------------------------------
  1493.  
  1494. 3.0.2 is an exact binary-copy of 3.0.2(wgs) (which is the version of A/UX
  1495. for the WGS 95 server) except for some minor cosmetics and the exclusion of
  1496. the server-related applications. This includes RetroSpect for A/UX (see Q&A
  1497. #E.03). Some of the major differences between 3.0.2 and 3.0.2(wgs) include:
  1498.  
  1499.     o Buffer cacher size (default kconfig parameters)
  1500.     o Packages installed during Easy Install
  1501.     o Swap space size on Easy Install
  1502.     o Autologin enabled in 3.0.2(wgs)
  1503.     o lpr daemon on in 3.0.2, off in 3.0.2(wgs)
  1504.     o Partition choices in HDSC SetUp
  1505.  
  1506. As you can see, they are all related to how the system is setup...
  1507.  
  1508. ============================
  1509. G.05)  How can I order A/UX?
  1510. ----------------------------
  1511.  
  1512. The latest _shipping_ version of the complete A/UX distribution is 3.0.1.
  1513. Once you get that, you can either decide to upgrade (for free) to 3.0.2 or
  1514. upgrade even further by purchasing the A/UX 3.1 upgrade and then using
  1515. AWS-Tune-Up-2.0 (which is free) to go all the way up to 3.1.1.
  1516.  
  1517. A/UX is available preinstalled on Mac systems or on CD-ROM. To find the
  1518. nearest A/UX reseller, call 1-800-538-9696. You'll need access to a compatible
  1519. CD-ROM drive to install A/UX (or a friendly dealer if you go that route).
  1520. Please note that at the present, you can only order 3.0.1; you'll then need
  1521. to apply the AWS Tune-Up 1.0 (available on jagubox and aux.support.apple.com)
  1522. to upgrade up to 3.0.2. You could also, as mentioned above, also decide
  1523. to spend some extra money and get the 3.1 Upgrade CD-ROM, to bring you
  1524. up to 3.1, and then apply the free Tune-Up-2.0 disk to bring you up to
  1525. A/UX 3.1.1.
  1526.  
  1527. The part numbers (and suggested retail price) for 3.0.1 are (US and Canada):
  1528.  
  1529.     M0598LL/C     A/UX 3.0.1 CD-ROM product                 ($795)
  1530.                   (contains Essential Manuals)
  1531.     M0597LL/B     A/UX 3.0.1 Essential Manuals              ($329)
  1532.     M0430LL/B     A/UX 3.0.1 Programmers Manuals            ($329)
  1533.     M0431LL/B     A/UX 3.0.1 Administrators Manuals         ($329)
  1534.  
  1535.     M0599LL/C     A/UX 3.0.1 Update (updates previous       ($250)
  1536.                   versions to 3.0.1)
  1537.     M0489LL/B     A/UX 3.0.1 Programmers Manual Update      ($285)
  1538.     M0490LL/B     A/UX 3.0.1 Admin. Manual Update           ($285)
  1539.  
  1540. If you are interested in upgrading your Q950 to the Apple WGS-95 Server
  1541. (which uses A/UX 3.0.1) here are the part numbers (with SRP):
  1542.  
  1543.     M6940Z/A      WGS 95 PDS Upgrade Kit                     ($2499)
  1544.     M6945Z/A      WGS 95 PDS + DAT Upgrade Kit               ($4399)
  1545.  
  1546. By the way, MacWarehouse is now selling the A/UX 3.0.1 CD-ROM package for
  1547. $619... Their phone number is 1-800-255-6227; ask for part#SYS0009. You
  1548. can also order A/UX from Falcon MicroSystems, located in Landover, MD:
  1549.  
  1550.     A/UX 3.0.1 Update CD-ROM    Item# 1155-128      $150
  1551.     A/UX 3.0.1 CD-ROM           Item# 1166-324      $444
  1552.  
  1553. Falcon's phone number is 1-800-284-1367 and their Email address is
  1554. 'sales@falconmicro.com'
  1555.  
  1556. To get 3.0.2, you need to snag the AWS Tune-Up 1.0 DiskCopy image files from
  1557. aux.support.apple.com or jagubox and apply the patches. Although the Tune-Up
  1558. is called AWS, it's really for _all_ A/UX users. Note that you need 3.0.1 to
  1559. upgrade to 3.0.2.
  1560.  
  1561. If you want to upgrade to 3.1/3.1.1, please see Q&A G.09.
  1562.  
  1563. ==============================================
  1564. G.06)  What's the upgrade path for A/UX 3.0.2?
  1565. ----------------------------------------------
  1566.  
  1567. You can upgrade to 3.0.2 (from any other version of A/UX) by purchasing the
  1568. A/UX 3.0.1 CD-ROM Product Upgrade (Apple part # MO599LL/C). The suggested
  1569. price is $250. You then need to snag the AWS Tune-Up 1.0 disks to upgrade
  1570. 3.0.1 to 3.0.2.
  1571.  
  1572. It's recommended that if you do upgrade, that you completely repartition
  1573. your disk via the Installer for two reasons:
  1574.  
  1575.     1. The default (suggested) partition sizes have changed
  1576.  
  1577.     2. You install 3.0.1 on a "clean" system.
  1578.  
  1579. If you want to upgrade to 3.1/3.1.1, please see Q&A G.09.
  1580.  
  1581. ============================================================
  1582. G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  1583. ------------------------------------------------------------
  1584.  
  1585. If you have bought at least one copy of A/UX 3.0.x and you have other Mac
  1586. CPUs that you would like to install A/UX on, you don't need to reorder the
  1587. entire product. You can order a Right-To-Copy license for each Mac you want
  1588. to install A/UX on and then copy your A/UX to that Mac. This is cheaper than
  1589. buying a whole new CD-ROM package. It's not right to copy unless you have a
  1590. Right-To-Copy.
  1591.  
  1592. If those other Macs are already running A/UX, but an older version, then you
  1593. need to order a Right-To-Upgrade license for each one you want to upgrade.
  1594. As above, you then copy your 3.0.x over to that Mac.
  1595.  
  1596. Note that in both cases, you must have purchased at least 1 copy of A/UX
  1597. 3.0.x. The Right-To-* licenses just "authorize" you to then copy that over
  1598. to other Macs.
  1599.  
  1600. The A/UX Essential Manual Set (that comes with A/UX 3.0.x) is not provided
  1601. with either license. If you need more, you'll need to order them
  1602.  
  1603. =========================================
  1604. G.08)  How can I report bugs that I find?
  1605. -----------------------------------------
  1606.  
  1607. The official E-mail address is reports@aux.support.apple.com. If you subscribe
  1608. to the A/UX Technical AnswerLine, you can also use that method. The former
  1609. isn't acknowledged although the latter is.
  1610.  
  1611. For completeness, also post the report to comp.unix.aux.
  1612.  
  1613. There is also a HyperCard stack called "Apple Bug Reporter" that Apple
  1614. recommends using. I have a copy and can make it available via anon-ftp if
  1615. there is a demand.
  1616.  
  1617. =============================================
  1618. G.09)  What's the word on A/UX 3.1 and 3.1.1?
  1619. ---------------------------------------------
  1620.  
  1621. The latest shipping version of A/UX is v3.1.  3.1 offers better performance
  1622. than 3.0.2, fixes for various bugs, better MacOS emulation and some updated
  1623. programs and applications.  3.1 requires 3.0.1|3.0.2 and costs $199 (+ $5 for
  1624. shipping, $10 for FedEx). You can order it directly by calling 1-800-769-2775,
  1625. x7822. Ask for the A/UX 3.1 WGS Upgrade Kit. If that doesn't work, try asking
  1626. for part # M2885Z/A.
  1627.  
  1628. Once you get A/UX 3.1, you should then apply the AWS-Tune-Up-2.0 disk which
  1629. upgrades 3.1 to 3.1.1. 3.1.1 offers a bit better performance and better
  1630. MacOS emulation than 3.1 does. It's also very free.
  1631.  
  1632. 3.1.x has only been _fully_ tested on the AWS95 platform and not on all the
  1633. other platforms that A/UX runs on; however, nothing was done to it to prevent
  1634. it from working on other machines. 3.1.x is "only" for the AWS95s in the same
  1635. way that 3.0.2 was "only" for them ;)
  1636.  
  1637. Anyway, here is a short and non-official list of some 3.1.x features:
  1638.  
  1639.    o sendmail 8.6.4 now included (8.9 with 3.1.1)
  1640.    o support for new Berkeley NEWDB-NDBM package
  1641.    o Added support for "dynamic" use of removables, such as SyQuests
  1642.    o NEC CD-ROMs now supported !!
  1643.    o StyleWriter II supported
  1644.    o Support for UNIX file systems up to 4GB
  1645.    o Enhanced I/O performance (big improvement for fast machines and/or
  1646.      disks!)
  1647.    o Interupting a NFS server now works
  1648.    o Solaris clients no longer crash A/UX
  1649.    o Heavy UFS and NFS I/O no longer causes 'panic: freeing free inode'
  1650.      errors and deadlocks
  1651.    o I/O no longer causes excessive dropped kernel clock interupts
  1652.    o The size of .fs_cache no longer limited to 32MB
  1653.    o Death of 'catsearchd' now detected and responded to (used to crash
  1654.      the MacOS)
  1655.    o Desktop rebuilds no longer cause the Finder to terminate when the
  1656.      rebuild is done.
  1657.    o ThinkC runs under A/UX
  1658.    o Much better MacOS compatibility
  1659.    o 'Temporary Items' correctly handled
  1660.    o Various "needed" programs (like /bin/sh) recompiled w/o shared
  1661.      libs so that the system is still restorable after /shlib is munged
  1662.    o Various bug fixes and improvements, including:
  1663.       cpio (new option -L to follow sym-links)
  1664.       df (handles longer bus names)
  1665.       fsck (ignores 'noauto' and '-p'&'-y' now work correctly)
  1666.       make (uses SHELL in makefile)
  1667.       passwd (MAXUID now 65534)
  1668.       restore (can now restore named pipes)
  1669.  
  1670. ====================================================
  1671. G.10)  What's the future of A/UX with the PowerMacs?
  1672. ----------------------------------------------------
  1673.  
  1674. Apple has recently (August 5th, 1994) officially committed itself to UNIX
  1675. on the desktop for PowerPC-based Macs (it had always been know that Apple
  1676. would have UNIX available for it's PowerPC-based servers). Of course, this
  1677. will _not_ be a port of A/UX, as it now exists, over to the PowerMac. Instead,
  1678. it will be based on AIX, provided by IBM; Apple will further refine AIX (as
  1679. Apple did with it's base of SVR2.2 for A/UX) and add the MacOS environment
  1680. on top of it in the form of MAS (Macintosh Application Services). As such,
  1681. it looks like PowerOpen-A/UX (for lack of a better term) will be extremely
  1682. A/UX-like (it's hoped that Apple's improvements on AIX will be at least as
  1683. good as it's improvements on SVR2.2).
  1684.  
  1685. There _is_ a catch though... PowerOpen-A/UX will _not_ run on todays
  1686. PowerMacs but will instead run only on the PCI-based PowerMacs ("Enterprise
  1687. Client"), such as "TNT" or "Tsunami". Performance promises to be a _real_
  1688. kicker and should blow your socks off. Apple has said that PowerOpen-A/UX
  1689. will be available "the first half of 1995" but expect it a bit later than
  1690. that, if past history has any validity at all :)
  1691.  
  1692. Another nice thing about PowerOpen-A/UX is that it will run the Taligent
  1693. Application environment... Cool!
  1694.  
  1695. ==========================================================
  1696. G.11)  I can't use A/UX. What UNIX alternatives are there?
  1697. ----------------------------------------------------------
  1698.  
  1699. If you can't or *gasp* won't run A/UX on your Mac, then you should consider
  1700. A/UX's only real contender: MachTen by Tenon.
  1701.  
  1702. MachTen approaches UNIX on a Mac from a different viewpoint. Whereas A/UX
  1703. is the MacOS running on-top of UNIX, MachTen is UNIX running on top of the
  1704. MacOS. This means that compatibilty problems aren't an issue, since the
  1705. MacOS isn't being "emulated" ala A/UX. You also avoid needing to create
  1706. separate UNIX file systems since MachTen uses the MacHFS file system.  Also,
  1707. MacOS programs run at "top speed" although UNIX processes are slower than on
  1708. A/UX.  However, since it runs on-top of the MacOS, MachTen is limited to the
  1709. inherent limitations and constraints of the MacOS. For example, MachTen's
  1710. "kernel" isn't truly preemptive multitasking, although the UNIX processes
  1711. are multitasked via MachTen. Also, local users can easily bypass MachTen's
  1712. file-level security. As the MacOS evolves, these "short-comings" will no
  1713. doubt be removed from the lower layer of the OS. Finally, MachTen runs on
  1714. the PowerMacs under emulation, with a native version promised later this
  1715. year.
  1716.  
  1717. MachTen is based on the Mach kernel and the BSD-Reno/Net2 version of BSD.
  1718. It's a very good alternative to A/UX for those machines that can't run A/UX
  1719. or for those interested in having UNIX run on their Macs (say for learning
  1720. UNIX or doing some UNIX development) but don't want their Macs to run UNIX :)
  1721.  
  1722. There are also some ports "in the works" for MacBSD and Linux for Macs,
  1723. but they still have _quite_ a ways to go...
  1724.  
  1725. %%% For more info, contact info@tenon.com %%%
  1726.  
  1727.  
  1728. :::::::::::::::::::::::::::::::::
  1729. ::::: ADMINISTRATION ISSUES :::::
  1730. :::::::::::::::::::::::::::::::::
  1731.  
  1732. ==================================================
  1733. A.01) How come my Login screen is gray, not color?
  1734. --------------------------------------------------
  1735.  
  1736. Because that's the way Apple wanted it :) Actually, the reason why is because
  1737. the 'scrn' resource is missing from 'System' in /mac/sys/Login System Folder.
  1738. If you're handy, you can copy 'scrn' from some other System and paste it in
  1739. Login's using ResEdit. Make sure the "Is Color" field in 'scrn' is "1".
  1740.  
  1741. =================================================================
  1742. A.02) How come my Login ScreenSaver doesn't see both my monitors?
  1743. -----------------------------------------------------------------
  1744.  
  1745. This is also due to the fact (see Q&A #A.01) that the System file in
  1746. /mac/sys/Login System Folder lacks a 'scrn' resource. If you copy this
  1747. resource from a System that knows about your monitor setup into Login's System,
  1748. then the screensaver will knows about all your monitors.
  1749.  
  1750. ======================================================================
  1751. A.03)  Even though I have lot's of swap space and only a little bit is
  1752.        being used, I STILL get a lot of messages saying that my swap
  1753.        space is running low. What's the buzz?
  1754. ----------------------------------------------------------------------
  1755.  
  1756. Unix is justifyably concerned about having adequate swap space. A system
  1757. crash caused by this beast is a sight to behold. However, A/UX seems EXTREMELY
  1758. nervous about the amount needed before it starts getting fidgety.  If you do
  1759. a "/etc/swap -l" and see that you're only using a small portion of your swap
  1760. space and have a "lot" left, then you can safely ignore the messages (just
  1761. how much is a "lot" is hard to say, but if you have 25000 blocks and are only
  1762. using 1000 or 2000, then I'd say you were fine). If you DO need more swap
  1763. space, then you have a few options:
  1764.  
  1765.     a. Using 'kconfig', reduce the number and size of buffers.
  1766.        This isn't really a good idea since it could really degrade
  1767.        performance as well as possibly causing more panics.
  1768.  
  1769.     b. Add more swap space.
  1770.        Fine, if you have it. You could either add another disk
  1771.        as swap (nice) or repartition your present disk to create
  1772.        a larger Swap partition (Ack!).
  1773.  
  1774.     c. Add more memory.
  1775.        If you have more memory, then this will reduce the need to
  1776.        augment it with swap space... RAM's cheap too! There is an
  1777.        old rule of thumb that the size of Swap should be about
  1778.        2 to 3 times the amount of RAM, which would seem to contradict
  1779.        the above. The thing is that if with the _present_ workload
  1780.        you are swapping like crazy, then adding RAM will reduce
  1781.        tha swapping. If, however, you start increasing the work-
  1782.        load, then swapping will start again, and you better have
  1783.        enough of it! This was the original intent of the Rule-Of-
  1784.        Thumb. At the very least, Swap should always be at least
  1785.        as big as the amount of RAM you have.
  1786.  
  1787. ====================================================================
  1788. A.04)  How can I copy a complete file system from one disk|partition
  1789.        to another?
  1790. --------------------------------------------------------------------
  1791.  
  1792. You have three options: dd, dump.bsd and cpio (pax MAY work but tar won't
  1793. since it won't handle special-type files). If the two partitions are the same
  1794. size, you can use 'dd' (to copy c0d0s0 to c5d0s3, e.g.):
  1795.  
  1796.     $ dd < /dev/rdsk/c0d0s0 > /dev/rdsk/c5d0s3
  1797.  
  1798. To use dump.bsd, you can use the following command (this assumes that the
  1799. destination disk in mounted on /mnt and you want to copy the root file system
  1800. which is on SCSI 0... of course, you must be root and it would be MUCH better
  1801. to do this in single-user mode):
  1802.  
  1803.     $ dump.bsd 0f - /dev/rdsk/c0d0s0 | (cd /mnt; restore xf -)
  1804.  
  1805. To use cpio, you must use it in a pipe with find. For example, to copy /usr
  1806. (let's assume it's on it's own file system) to another disk|partition (assume
  1807. it's mounted on /mnt) then you can use (you can add the "-depth" flag to
  1808. 'find' if you want):
  1809.  
  1810.     $ cd /usr
  1811.     $ find . -print | cpio -pdmuva /mnt
  1812.  
  1813. The problem with this is that if the mount point of the destination disk
  1814. falls under the file system's directory you're trying to copy, you'll load
  1815. up your destination disk. For example, the following would NOT work:
  1816.  
  1817.     $ cd /
  1818.     $ find . -print | cpio -pdmuva /mnt
  1819.  
  1820. because 'find' would see the stuff in /mnt (which you just put in there) and
  1821. try to copy in back to /mnt! To way to avoid this is by adding a little
  1822. filter:
  1823.  
  1824.     $ cd /
  1825.     $ find . -print | grep -v '^./mnt*' | cpio -pdmuva /mnt
  1826.  
  1827. If you have GNU find, then you can use it with it's '-xdev' option, which
  1828. prevents find from walking through other file systems:
  1829.  
  1830.     $ cd /
  1831.     $ find . -xdev -print | cpio -pdmuva /mnt
  1832.  
  1833. dump.bsd creates a "truer" copy of your file system (the access and
  1834. modification dates aren't mucked with... with the find/cpio pipe, at the
  1835. least the directory dates are touched) but pre-3.1 versions of restore
  1836. couldn't restore named pipes. These are easy to creat though using
  1837. 'mknod'. The only named pipes included in the default A/UX distribution are:
  1838.  
  1839.     /usr/lib/cron/FIFO
  1840.         prw-------   1 root     sys            0 Oct 18 16:08
  1841.  
  1842.     /usr/spool/lpd/AppleTalk/pipe
  1843.         prw-rw----   1 daemon   daemon         0 Oct 19 06:11
  1844.  
  1845. ========================
  1846. A.05)  What's with UUCP?
  1847. ------------------------
  1848.  
  1849. UUCP under 3.x.x is very improved over it's previous "incarnation" under 2.0.1.
  1850. 3.x.x uses HDB (for HoneyDanBer) UUCP instead of standard UUCP. Some nice
  1851. things are bidirectional getty (also known as uugetty in other Unixs) which
  1852. allows both incoming and outgoing communication over serial lines as well as
  1853. better performance and reliability. I hear that setting it up is _much_ easier
  1854. as well.
  1855.  
  1856. You may seriously consider getting Alexis Rosen's "sendmail.cf" file for use
  1857. under UUCP sendmail. This config file has been modified to allow UUCP and
  1858. sendmail to work beautifully together. You may also want to consider simply
  1859. installing smail to replace sendmail.
  1860.  
  1861. Under 3.0., be sure that you are running the latest version: 1.16. It can be
  1862. found on aux.support.apple.com in aux.patches/supported/3.0. Be sure that you
  1863. get the new dial.o on ftp.apple.com (pub/earlw/dial) to avoid breaking syslog.
  1864. Under 3.0.1 (and later) all is OK.
  1865.  
  1866. ====================================================================
  1867. A.06)  How can I log anonymous ftp entries? in.ftpd has a -l option,
  1868.        but it doesn't work
  1869. --------------------------------------------------------------------
  1870.  
  1871. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked in.ftpd to enable logging
  1872. via the syslogd daemon. It also pays extra close attention to anonymous ftp
  1873. logins. It's available (as well as other ports|hacks) on jagubox. Also
  1874. available on jagubox is a port of the latest version of wuarchive's ftpd
  1875. server for A/UX. wu-ftpd is a super-nice ftp server with lots of extras
  1876. and neat features!
  1877.  
  1878. The real reason why '-l' doesn't work with in.ftpd is that there's no real
  1879. way to send this option to the daemon. A/UX 'inetd' doesn't allow you to add
  1880. options to '/etc/servers'. John Coolidge (coolidge@apple.com) has ported the
  1881. BSD-reno version of 'inetd' to overcome this limitation. Jim Jagielski has
  1882. since been updating and maintaining 'inetd'. This version of 'inetd' also has
  1883. some nice features, such as rereading /etc/servers when sent SIGHUP. It's
  1884. available on jagubox. This version of 'inetd' has also been modified to log
  1885. whenever it spawns a background daemon as well as logging which host requested
  1886. the daemon.
  1887.  
  1888. %%% For more info, contact Jim %%%
  1889.  
  1890. ===========================================================================
  1891. A.07)  How come when I do a 'df' as a regular user, it shows me a different
  1892.        number of free blocks compared to when I run it as 'root'?
  1893. ---------------------------------------------------------------------------
  1894.  
  1895. One of the details about the BSD Fast File System is that it sets aside
  1896. some amount of the available disk space (if the file system was created by
  1897. HD SC Setup, then %5 is set aside; if created by 'newfs' then 10% is set
  1898. aside... this value can be changed by using the 'tunefs' command) and makes
  1899. it unavailable to regular users. This prevents 2 things: filling up a file
  1900. system and destroying performance by having a "too full" file system. 'root',
  1901. however, does have access to this "extra" disk space, hence the difference in
  1902. the numbers reported by df between 'root' and "regular joe".
  1903.  
  1904. As mentioned above, if you used HD Setup to create the partitions (or your
  1905. A/UX came preinstalled), then the "set aside" value for these file systems
  1906. is 5%, not the "default" of 10%... This was simply to give users more space.
  1907. Reducing this value beyond 5% is Not A Good Idea.
  1908.  
  1909. ======================================
  1910. A.08)  Does A/UX LocalTalk support IP?
  1911. --------------------------------------
  1912.  
  1913. Nope... not at all.
  1914.  
  1915. ==========================================================
  1916. A.09)  How do I get MPW 3.1 to work? It hangs my system...
  1917. ----------------------------------------------------------
  1918.  
  1919. MPW 3.1 doesn't work under A/UX although 3.2 does. In the meantime, you
  1920. can make 3.1 work by breaking into MacsBug when it's hung and entering:
  1921.  
  1922.     pc=pc+2;g
  1923.  
  1924. See Q&A #M.04 for info about entering MacsBug...
  1925.  
  1926. ===============================================================
  1927. A.10)  Can I refer to a file on my Mac system from within A/UX?
  1928. ---------------------------------------------------------------
  1929.  
  1930. A/UX's 'Finder' mode is the only way (currently) to access both file systems.
  1931. You could write a hybrid application that could attach to the Finder world
  1932. (a la, CommandShell and cmdo which can "see" both file systems), but you
  1933. can't access HFS volumes from the A/UX kernel directly.  In a similar vein,
  1934. you can't 'mount' an HFS volume on an A/UX inode.
  1935.  
  1936. =================================================================
  1937. A.11)  How can I adjust the amount of virtual memory Finder uses?
  1938. -----------------------------------------------------------------
  1939.  
  1940. There are three ways to do this. The first is very easy: you simply use the
  1941. Memory cdev to adjust the "memory" size, logout and then log back in. You
  1942. must be 'root' to do it this way.
  1943.  
  1944. The 2nd way is to use the 'TBMEMORY' environment variable. You can set it's
  1945. "value" equal to the amount of memory you wish to use. For example:
  1946.  
  1947.     TBMEMORY=10m; export TBMEMORY  (in .profile for ksh or sh or /etc/profile)
  1948.        -or-
  1949.     setenv TBMEMORY 10m            (in .login for csh)
  1950.  
  1951. configures Finder for 10M.
  1952.  
  1953. You can also edit /mac/bin/mac32|mac24 (or .mac32|.mac24 if you are using
  1954. this method) to call 'startmac' with the memory size you want using the
  1955. "-m" option. For example:
  1956.  
  1957.     /mac/bin/startmac -m 8m > $SMLOGFILE 2>&1 &
  1958.                      -------
  1959.  
  1960. in (.)mac32|(.)mac24 will configure an 8M environment.
  1961.  
  1962. Please note that under the 24-bit mode (mac24), you can only access a maximum
  1963. of 8MB of RAM. It won't complain if you try to setup more, it just won't do
  1964. it. Furthermore, if you actually have more than 8MB (say 12), the "About This
  1965. Macintosh" window will show "Built-in Memory: 12,288 K; Total Memory: 8,192K".
  1966.  
  1967. The default behavior of 3.0 (and earlier) was to allocate all the RAM to the
  1968. MacOS. Thus, if you had 20MB, A/UX would, unless told otherwise, allocate
  1969. 20MB for the MacOS-emulation. Under 3.0.1 (and later), this is slightly
  1970. changed: A/UX will usually not allocate all RAM to the MacOS but will instead
  1971. impose a 16MB maximum (this can be changed via Memory or TBMEMORY). Whatever
  1972. version of A/UX you are running, it's a Good Idea not to allocate _all_ RAM
  1973. for the Finder. This is because A/UX allocates itself a chunk, so if you give
  1974. the Finder "all" of it, you can cause swapping and paging which can seriously
  1975. degrade performance at times.
  1976.  
  1977. If the value set in 'Memory' and TBMEMORY disagree, the value determined by
  1978. TBMEMORY is used.
  1979.  
  1980. ================================================================
  1981. A.12)  Is there an archive of comp.unix.aux out there somewhere?
  1982. ----------------------------------------------------------------
  1983.  
  1984. Yes, it's located on aux.support.apple.com under archives/comp.unix.aux.
  1985.  
  1986. ==========================================
  1987. A.13)  How come I can't use color under X?
  1988. ------------------------------------------
  1989.  
  1990. Apple's X (R4), and Thomas Eberhardt's X11R5 all support color. However, you
  1991. must start the server with the "-screen 0 -depth 8" option (similar command
  1992. with other screens if you have them). You can add these options to the command
  1993. line or to your server's defaults file. You can also create a ".X11" file in
  1994. your home directory which includes the line:
  1995.  
  1996.     X -screen 0 -depth 8
  1997.  
  1998. to get the same effect. Make sure that ".X11" is executable for this to work
  1999. ("chmod 755 .X11").
  2000.  
  2001. //////////////////////  END OF PART 2 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  2002. -- 
  2003. #include <std/disclaimer.h>
  2004.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  2005.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  2006.                      << Put the moon BACK, demon waif! >>
  2007. Archive-name: aux-faq/part3
  2008. Last-modified: Mon Mar  6 09:44:03 EST 1995
  2009.  
  2010.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  2011.  
  2012.  
  2013. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 3 OF 4 //////////////////////
  2014.  
  2015. ==============================================================================
  2016. A.14)  Using the command shell interface, I'm trying to access some Mac files
  2017.        (that have strange names) but I can't; the program returns an error and
  2018.        I can't access the file. What's going on?
  2019. ------------------------------------------------------------------------------
  2020.  
  2021. The problem is that sh and csh don't understand the Mac "special" characters
  2022. that are in the filenames. They don't expect filenames with characters that
  2023. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  2024. access the file. For example, to remove Moire, just type:
  2025.  
  2026.     $ ksh           #this creates a Korn shell child
  2027.     % rm M?ire      #match the weird 'o'
  2028.     % exit          #get back in your old shell
  2029.  
  2030. You could also use emacs' DIRED or the Gnu File utilities to do this, but
  2031. ksh is right here on the system so it's a bit easier. Of course, another very
  2032. easy way is to use the MacOS interface and do the deletion|rename|whatever
  2033. the "Mac" way. Please note that if what you are MacOS deleting is a symbolic
  2034. link to a directory, what gets Trashed is actually the contents of the
  2035. directory as well as the link! This is due to the fact that to the Finder,
  2036. the link looks like a folder, and the entire thing gets deleted.
  2037.  
  2038. ===================================================================
  2039. A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  2040.        hard disk. Well, it doesn't on mine!
  2041. -------------------------------------------------------------------
  2042.  
  2043. Well, the Installer will work with any 3rd party disk but there are a few
  2044. wrinkles... The HD Setup application in the 3.x.x Installer is unique in that
  2045. not only does it create A/UX partitions but it also creates the actual file
  2046. systems in those partitions (basically it runs 'newfs'). Now if you have used
  2047. some other HD utility program (such as SilverLining or FWB HDT) to create
  2048. the partitions and then attempt to install A/UX on that disk, the Installer
  2049. sees that the partitions are there and then _assumes_ that they were created
  2050. by HD Setup and therefore have the file systems already created.  Of course,
  2051. the file systems don't exist yet, just the partitions, so the installation
  2052. fails.
  2053.  
  2054. You have a few options:
  2055.  
  2056.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  2057.     will do all the partitioning (etc...) and the installation will proceed.
  2058.     Note that this means you will be "stuck" with the Apple drivers whenever
  2059.     you are in the _real_ MacOS Finder.
  2060.  
  2061.  b. If you want to use the drivers on your HD utility (for stuff like,
  2062.     maybe, password protection of partitions) then you have two (maybe three)
  2063.     additional options:
  2064.  
  2065.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  2066.       "take over" the disk, disabling (or even removing) the Apple drivers
  2067.       and installing it's own. Note that if there isn't enough space to
  2068.       install it's drivers, most will attempt to "shrink" the MacOS partition
  2069.       to make room. Most can do this with no problem, but why take the risk...
  2070.       when you partition the disk, leave about 64K available as free space.
  2071.  
  2072.   ii. Use your HD utility to create the partitions. Then, before you
  2073.       run the Installer, run 'newfs' "by hand" to create the file systems so
  2074.       that the installation can proceed.
  2075.  
  2076.  iii. Use your HD utility to format (etc...) your disk and create
  2077.       _only_ the MacOS partition. Now run the Installer. In most cases HD
  2078.       Setup will work fine with the driver installed on the disk.  You can
  2079.       now use it to create the A/UX partitions.
  2080.  
  2081.       <<ED: I _know_ this (iii) works with FWB HDT>>
  2082.  
  2083. Please note that HD SC Setup will only create the file systems if run under
  2084. A/UX. If you run it under the MacOS, it can only partition...
  2085.  
  2086. ==================================================================
  2087. A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  2088.        how can I get it?
  2089. ------------------------------------------------------------------
  2090.  
  2091. Very early reports indicated that RetroSpect for A/UX might be bundled with
  2092. A/UX 3.0.2 as it is with the AWS95 version of 3.0.2. This is no longer the
  2093. case (if it ever _was_ ). However, if you are a registered owner of RetroSpect
  2094. 2.0, you can order an upgrade to RetroSpect A/UX. The cost is around $200
  2095. and to order (or more info) you can call 1-800-225-4880 (have your
  2096. registration number handy). International customers should call 510-849-0293.
  2097.  
  2098. Please note that if you have the Pisces card installed (with the WGS95), then
  2099. _only_ RetroSpect A/UX will work and _only_ under the A/UX environment.  You
  2100. will not be able to access your DAT under the real MacOS!
  2101.  
  2102. ==========================================
  2103. A.17)  How can I configure CAP under A/UX?
  2104. ------------------------------------------
  2105.  
  2106. For the answer, snag a copy of CAP.txt which is available on jagubox (in
  2107. /pub/aux/Info for anon-ftp).
  2108.  
  2109. ===========================================
  2110. A.18)  What are some good books about A/UX?
  2111. -------------------------------------------
  2112.  
  2113. Except for Apple's complete manual set, there are no books specifically about
  2114. A/UX. (Well, there's one but it's most probably out of print.  It is most
  2115. definately out of date. It's called "The A/UX Handbook" by Jan Harrington
  2116. and it's written for A/UX 2.0).
  2117.  
  2118. There are some _very_ good books about UNIX in general however. The best of
  2119. the pack (IHMO) is "UNIX Administration Guide for System V" by Thomas and
  2120. Farrow. Another good book is the "UNIX System Administration Handbook" by
  2121. Nemeth, Snyder and Seebass. Since A/UX is a mix of SystemV and BSD both books
  2122. are worthwhile ("UNIX Sys. Ad. Handbook" deals "mostly" with BSD systems).
  2123. Another must-have is "UNIX Power Tools" from O'Reilly and Associates.
  2124.  
  2125. For general information about shells and programming there's no better book
  2126. than "The UNIX Programming Environment" by Kernighan and Pike. For the 'ksh'
  2127. shell, the best book I've encountered is "Learning the Korn Shell" by Bill
  2128. Rosenblatt.
  2129.  
  2130. O'Reilly and Associates has a wide selection of UNIX-based books. You're
  2131. bound to find what you're looking for from them. You can contact them either
  2132. via Email (nuts@ora.com) or Phone (1-800-998-9938).
  2133.  
  2134. There is also a list (with over 160 entries) of UNIX books (and mini-reviews)
  2135. located on ftp.rahul.net in 'pub/mitch/YABL/yabl'.
  2136.  
  2137. ====================================================================
  2138. A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  2139.        error message and A/UX won't boot. What can I do?
  2140. --------------------------------------------------------------------
  2141.  
  2142. This is due to the fact that some file system damage exists on the Root file
  2143. system. By default, A/UX Startup will only run 'fsck' on the root file system
  2144. if the system is marked as "dirty." So even if damage exists, as long as the
  2145. disk was cleanly 'umount'ed, 'fsck' won't check it out and fix it.
  2146.  
  2147. I recommend always having A/UX Startup fully check out the disk before booting
  2148. A/UX. It takes a while, but it's worth it. To do this, choose Booting from
  2149. the Preferences menu. Now change the command under "AutoRecovery" to "fsck
  2150. /dev/default" (it was "fsck -y -p /dev/default").  When you do this, you'll
  2151. notice that the radio button changes from "Check root file system" to "Custom
  2152. command"... that's OK. After that, A/UX will always run 'fsck' on Root. If
  2153. you are doing this, you might as well have A/UX run a full 'fsck' on all
  2154. file-systems too. Check out fsck(1m) and fstab(4) for how to do this... one
  2155. way is to just edit /etc/bcheckrc and remove the options to the "/etc/fsck"
  2156. command.
  2157.  
  2158. If you don't want to do this but you do have some damage that prevents A/UX
  2159. from booting, then you can cancel the boot-up process (either select "Exit"
  2160. or hit "Command-."). Then type "fsck /dev/default" and then, when 'fsck' is
  2161. done, type "boot" (or "launch"). Sometimes you must run 'fsck' a coupla times
  2162. to fully fix the file system if there was extensive damage.
  2163.  
  2164. ========================================
  2165. A.20)  Is traceroute available for A/UX?
  2166. ========================================
  2167.  
  2168. This is kinda a trick question. The actual source for traceroute is readily
  2169. available and compilable for A/UX. However, traceroute makes use of raw
  2170. sockets. The original implementation of sockets by Berkeley contained a bug
  2171. in raw sockets that prevented traceroute from working correctly. This bug was
  2172. subsequently fixed in later versions of most UNIXes out there, but not in
  2173. A/UX. However, Apple _does_ know about the fix, since they included a fixed
  2174. 'bnet' driver with their distribution of traceroute for 2.0.1/3.0.  Even so,
  2175. for some strange reason, they never incorporated this fix in later versions
  2176. of the 'bnet' driver. Thus, the short answer is, except for 3.0, traceroute
  2177. will not work under A/UX, due to the fact that Apple has neglected to fix
  2178. a "buggy" 'bnet' driver, even though the know about the problem and the fix.
  2179.  
  2180. ==============================================
  2181. A.21)  What is KEEPALIVE and how can I use it?
  2182. ==============================================
  2183.  
  2184. KEEPALIVE is a method implemented in Berkeley sockets and TCP/IP (and in
  2185. A/UX) that periodically polls a connected socket to determine if it's
  2186. still "alive" or whether the client on the other end has dropped off.
  2187. If the connected client doesn't respond, A/UX will consider the connection
  2188. broken and send SIGPIPE to all connected processes. For this feature to
  2189. be actually used, programs must set the SO_KEEPALIVE option on the
  2190. socket.
  2191.  
  2192. One particular of A/UX is that although it supports KEEPALIVE, it doesn't
  2193. send the first probe for _2 hours_! It's been suggested that it would be
  2194. much better to shorten this value to something more realistic to take
  2195. better advantage of this capability. However, to do this, you'll need to
  2196. use 'adb' and adjust the kernel.
  2197.  
  2198. You can either patch the kernel itself (which requires that the patch be
  2199. reapplied everytime the kernel is rebuilt) or patch /etc/install.d/boot.d/bnet
  2200. to keep the patches. To patch the kernel to adjust to time to 1st probe, you
  2201. need to use 'adb' to adjust the 'tcp_keepidle' parameter. To get the right
  2202. value, multiply the number of minutes you want A/UX to wait until the 1st
  2203. probe by 120, then change that value to hex. For example, to make A/UX sent
  2204. the 1st probe every 5 minutes (5 x 120 = 600 = 0x258) do:
  2205.  
  2206.     adb -w -k /unix  << Foo
  2207.     tcp_keepidle?D
  2208.     tcp_keepidle?W 258
  2209.     tcp_keepidle?D
  2210.     $q
  2211.     Foo
  2212.  
  2213. To patch the 'bnet' driver instead, do:
  2214.  
  2215.     adb -w /etc/boot.d/bnet << Foo
  2216.     tcp_keepidle?D
  2217.     tcp_keepidle?W 258
  2218.     tcp_keepidle?D
  2219.     $q
  2220.     Foo
  2221.  
  2222. Now run 'newconfig -v' and reboot. 
  2223.  
  2224. ==============================================
  2225. A.22)  What does this 'panic' message mean...?
  2226. ----------------------------------------------
  2227.  
  2228. In general, most system panics are due to A/UX exhausting some kernel
  2229. resource; to prevent these, you need to know which resource was used up
  2230. and then use 'kconfig' to increase them:
  2231.  
  2232.  console panic message                  kernel parameter to increase
  2233. -----------------------                ------------------------------
  2234.  "panic: kmem_alloc"                    MAXCORE
  2235.  "panic: getfreehdr"                    MAXHEADER
  2236.  "timeout table overflow"               NCALL
  2237.  "file: table is full"                  NFILE (NINODE as well, to same value)
  2238.  "inode: table is full"                 NINODE (NFILE as well, to same value)
  2239.  "m_expand returning 0"                 NMBUFS
  2240.  "panic: out of mbufs"                  NMBUFS
  2241.  "proc: table is full"                  NPROC (NREGION as well, 3x NPROC)
  2242.  "Region table overflow"                NREGION (NPROC as well, NREGION/3)
  2243.  "sptreserve: no kernel virtual space"  NSPTMAP
  2244.  "allocbuf"                             SBUFSIZE (and NBUF as well)
  2245.  "cannot allocate buffer cache"         NCLIST (and add RAM)
  2246.  "cannot allocate buffer headers"       NBUF (and add RAM)
  2247.  "getfreehdr"                           NPBUF
  2248.  
  2249. You may also run up against the processes-per-user limit as well. This
  2250. can be increased by bumping up the MAXUP. Of course, you'll also need to
  2251. increase NPROC, NREGION, NFILE and NINODE (and maybe others) as well to
  2252. account for the increased number of processes...
  2253.  
  2254. ================================================
  2255. A.23)  How often does A/UX sync the file system?
  2256. ------------------------------------------------
  2257.  
  2258. A/UX 3.0 performs a sync every minute. It's done by 'init' and the frequency
  2259. can't be changed.
  2260.  
  2261. A/UX 3.0.1/3.0.2 does one every 30 seconds; cached blocks older than 30
  2262. seconds are flushed, therefore a block can be resident for between 30
  2263. and 59 seconds. If you want, you can use 'adb' to change the value of
  2264. 'syncdsleep' to the number of seconds to sleep between flushes. Blocks
  2265. older than that will be flushed.
  2266.  
  2267. A/UX 3.1/3.1.1 peforms a sync every second and flushes blocks that are
  2268. older than 30 seconds (i.e. a block can be resident for 1 to 31 seconds).
  2269. You can alter this by using 'adb' to change 'syndperiod' to the timeout
  2270. age (how old the block can be before it's flushed) and 'syncdsample'
  2271. to the wakeup period; by default, 'syncdperiod' is 30 and 'syncdsample'
  2272. is 1.
  2273.  
  2274. Under A/UX 3.0.1/3.0.2/3.1.x, the kernel process 'syncd' can be seen via
  2275. 'ps'.
  2276.  
  2277. ============================
  2278. A.24)  What is 'catsearchd'?
  2279. ----------------------------
  2280.  
  2281. Under A/UX, 'catsearchd' is a UNIX process that maintains a cache of
  2282. MacOS File System information. Having this cache available _greatly_
  2283. increases the performance of catalog searches made from the MacOS and
  2284. an AppleShare client.
  2285.  
  2286. For each file cached, 'catsearchd' requires 200bytes of memory, so if
  2287. your File Systems are large, 'catsearchd' can be a real memory hog. One
  2288. way to avoid this is to use the 'nocats' option in 'fstab' for mounted
  2289. file systems.
  2290.  
  2291. Unless you are running A/UX as an AppleShare server, there's no need to
  2292. run 'catsearchd'; in fact, it's better _not_ to run it due due to it's
  2293. memory and performance hits.
  2294.  
  2295. =====================================================================
  2296. A.25)  Is there any way to make AppleDouble file formats the default,
  2297.        rather than AppleSingle?
  2298. ---------------------------------------------------------------------
  2299.  
  2300. Sure is... All you need to do is set the 'TBFILEFORMAT' environment
  2301. variable to '1'. You can do this either in /etc/profile or /etc/cshrc
  2302. to make it system-wide or have each user add it to their .profile or
  2303. .login file.
  2304.  
  2305. For sh/ksh, the commands are:
  2306.  
  2307.    TBFILEFORMAT=1
  2308.    export TBFILEFORMAT
  2309.  
  2310. and for csh it's:
  2311.  
  2312.    setenv TBFILEFORMAT 1
  2313.  
  2314. You can also edit /mac/bin/mac32 as well if you want.
  2315.  
  2316. :::::::::::::::::::::::::::::::::::
  2317. ::::: MAC-EMULATION QUESTIONS :::::
  2318. :::::::::::::::::::::::::::::::::::
  2319.  
  2320. ======================================================
  2321. M.01)  What Mac applications are compatible with A/UX?
  2322. ------------------------------------------------------
  2323.  
  2324. It would be much easier to list the applications that aren't compatible.
  2325. The list is much, much shorter...
  2326.  
  2327. The _vast_ majority of applications that run under System 7 will run under
  2328. A/UX 3.x.x. In fact, before System 7 was released, A/UX 2.0.x was actually
  2329. a good litmus test whether the application was 32-bit clean and would run
  2330. under System 7. The only applications that are _sure_ to fail are those that
  2331. try to access hardware _directly_, such as HD utilities or backup
  2332. applications. A/UX 3.x.x provides both 24 and 32-bit modes, so if the
  2333. application doesn't run under 32-bit mode, try it under 24-bit.
  2334.  
  2335. One key note: if the program uses a "complex" installation procedure (like
  2336. for Canvas, Word, Stuffit, etc...) then you should not try to do a fresh
  2337. install under A/UX. See the above Hints and Words Of Wisdom.
  2338.  
  2339. ===================================================
  2340. M.02)  What screen-savers are compatible with A/UX?
  2341. ---------------------------------------------------
  2342.  
  2343. AfterDark (2.0u and later) works well under A/UX but some displays may not
  2344. have enough memory under Login so the "low-memory" display will be used.
  2345.  
  2346. Moire and FMbackup seem a bit incompatible. They both function fine together
  2347. but the combination prevents FMbackup's "Finishing up..." window from
  2348. displaying, although FMbackup does, in fact, finish up. Furthermore, Moire
  2349. seems to screw-up Commando (both version 3.22 and 4.01 exhibit this problem)
  2350. so all in all, Moire can't be recommended if you desire using Commando (the
  2351. problem seems to be with all MacOS applications 'launch'ed from the
  2352. CommandShell window). Using Moire for the Login screen works well however,
  2353. since you can't access Commando or 'launch' applications from there.
  2354.  
  2355. Darkside is also available. Unlike other screen savers, Darkside is an
  2356. application, not an INIT. This means it won't work under the Login screen.
  2357. The latest version of Darkside is 4.0 and will _not_ work on Pre-System7
  2358. systems, so don't attempt to use this under A/UX 2.0.1 or later.
  2359.  
  2360. Moire is available on jagubox.
  2361.  
  2362. ========================================================================
  2363. M.03)  My MacOS partition mounts fine under MacOS but it doesn't show up
  2364.        under A/UX... Why?
  2365. ------------------------------------------------------------------------
  2366.  
  2367. Whether or not a Mac partition mounts under A/UX depends on a number of
  2368. factors...  Necessary conditions for a partition to mount are:
  2369.  
  2370.     1. The disk MUST be partitioned using the "new" partitioning scheme
  2371.        detailed in Inside Macintosh V. There is still plenty of disk software
  2372.        out there that uses the "old" scheme and this drives will not mount
  2373.        under A/UX. Generic disk formatters that use the "new" scheme include
  2374.        SilverLining and FWB Hard Disk Toolkit. Most major disk vendors supply
  2375.        A/UX compatible formatting s/w.
  2376.  
  2377.     2. The partition must mount under MacOS BEFORE A/UX is booted. A/UX
  2378.        only tries to mount partitions that were already when it was booted.
  2379.        So, if you use an application to boot A/UX and this application runs
  2380.        before a partition is mounted, A/UX won't mount it for you. If you
  2381.        have a removable drive (such as SyQuest), you must insert the disk
  2382.        before you boot A/UX... this means you can't swap cartridges under
  2383.        A/UX.
  2384.  
  2385. Sometimes, the partition map isn't correct for the MacOS partition; In
  2386. particular, the Logical size may be 0! You can use 'dp' to look at the
  2387. partition map to see if this is the case. Assuming that the disk us SCSI #2,
  2388. then:
  2389.  
  2390.     $ dp /dev/dsk/c2d0s31
  2391.     P
  2392.  
  2393. Will print out the partition map entries. You can then see if the "Apple_HFS"
  2394. partition type has the correct logical size.
  2395.  
  2396. =========================================================================
  2397. M.04)  I have MacsBug installed. How can I trigger it?
  2398.                 -- or --
  2399. M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  2400.        up; how can I unfreeze it? Should I hit the Interrupt switch?
  2401. -------------------------------------------------------------------------
  2402.  
  2403. The "Command-Control-e" keypress will kill the current MultiFinder environment
  2404. and "unfreeze" (and kill) your MultiFinder|CommandShell.  Depending on whether
  2405. your session-type is Console Mode or 32|24-Bit, you will either get returned
  2406. to the console or get returned to the Login screen. You should _NOT_ press
  2407. the Interrupt switch since this puts you into A/UX's kernel debugger. If you
  2408. have MacsBug installed (which is recommended) then you can press
  2409. "Command-Control-i" to enter it. This may enable you to clean some things up
  2410. before the MultiFinder environment is blasted (even just using 'rs' under
  2411. MacsBug helps...). If MacsBug is _not_ installed, the "C-C-i" behaves almost
  2412. like a "C-C-e" except that it appears that A/UX doesn't need to "rebuild"
  2413. your icon/Desktop "environment" the next time Mac-mode is entered.
  2414.  
  2415. To make sure that MacsBug installs correctly, it's name must be 'MacsBug'.
  2416. A munged Debugger Prefs file can also prevent MacsBug from installing. This
  2417. happened to me when upgrading to 3.0.1... To be safe, make a solid safe
  2418. copy before upgrading.
  2419.  
  2420. ============================================================================
  2421. M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use Phase 1
  2422.        under A/UX?
  2423. ----------------------------------------------------------------------------
  2424.  
  2425. A/UX only supports EtherTalk Phase 2. Upgrading to Phase 2 is recommended
  2426. for a variety of reasons, but most importantly to ensure compatibility with
  2427. new products from Apple and developers (of course, the added features over
  2428. Phase 1 are nice too :).
  2429.  
  2430. ===========================================================================
  2431. M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  2432.        Also, sometimes things get transfered fine, othertimes not. What's
  2433.        going on?
  2434. ---------------------------------------------------------------------------
  2435.  
  2436. If a file on the A/UX system has Type "TEXT", then when it is copied over to
  2437. a MacOS disk, all 'newline' characters will be replaced by 'carriage returns'.
  2438. Sometimes this is what you want (that is when the file is, in fact, a TEXT
  2439. file). Othertimes it's not. Say for example you download a GIF file onto your
  2440. A/UX disk. A/UX _might_ think it's a TEXT file. If you then copy it over to
  2441. your MacOS disk and try to use Giffer on it, it won't work.  That's because
  2442. the 'nl's where changed, which is _not_ what you want. The way to stop this
  2443. is to convince A/UX that the file is of non-TEXT type.  There are many
  2444. applications out there (including the A/UX included 'setfile' program) that
  2445. lets you modify this. Do this before you copy the file over to your Mac OS
  2446. disk and all will be Okay. If you aren't sure what the Type and Creator should
  2447. be, you can just specify "BIN " and "A/UX" (note space in BIN) and the file
  2448. won't be massaged during the copy|transfer. You'll still need to eventually
  2449. change them to the correct ones for their particular application, but this
  2450. way they'll be on your MacOS disk "uncorrupted."
  2451.  
  2452. Of course, you could also use 'setfile' to set the Type|Creator fields
  2453. _before_ you copy the file to the MacOS disk and avoid an additional step.
  2454.  
  2455. Please note that if you downloaded a BINHEX file, you _do_ want to keep it
  2456. as a TEXT file if you transfer it over to the MacOS. Once there, you can
  2457. de-BINHEX it and unStuffIt (if it was a binhexed stuffit archive).
  2458.  
  2459. Please note that if you transfer Unix-type files (like tar archives or
  2460. compressed files) between the A/UX file system and a MacOS disk (esp. if
  2461. these files were "created" on a MacOS disk by a MacOS utility), the Unix
  2462. application may no longer work correctly with it. This is because the MacOS
  2463. resource information was attached to the file during the transfer (the file
  2464. is in Apple Single format). To "fix" this, use 'fcnvt' to change the file
  2465. to Apple Double format which will detach the resource fork and place it
  2466. into a "%..." file.
  2467.  
  2468. See "Hints and Words Of Wisdom" (above) for hints in using ftp file transfers
  2469. under A/UX.
  2470.  
  2471. ================================================================
  2472. M.08)  Do I install CDEVs and Extensions in the System Folder on
  2473.        MacPartition or on the "/" A/UX disk.
  2474. ----------------------------------------------------------------
  2475.  
  2476. To install these additions to A/UX, you will need to drag-copy them over to
  2477. the A/UX System Folder. Usually, this is /mac/sys/System Folder on the "/"
  2478. disk but it will also "appear" in your "home folder" icon. If you have a
  2479. personal System Folder (i.e. $HOME/System Folder) then they should be dragged
  2480. there. To add a screensaver to the Login screen, it must be dragged into the
  2481. correct subfolder in /mac/sys/Login System Folder. That is, if it's an cdev,
  2482. drag it into /mac/sys/Login System Folder/Control Panels.
  2483.  
  2484. ==========================================================================
  2485. M.09)  I heard that A/UX requires a special version of System 7 to boot...
  2486.        Is this true?
  2487. --------------------------------------------------------------------------
  2488.  
  2489. A lot of people believe this but this is not true. There is no difference
  2490. between the s/w on the MacPartition partition and the "real" System 7.  The
  2491. only _real_ need for MacPartition is that the disk where A/UX Startup lives
  2492. is where A/UX Startup looks for the A/UX Root partition. When A/UX Startup
  2493. launches, it looks at "it's" disk and then looks for A/UX partitions on that
  2494. disk. This means that you _don't_ need to boot-up from the MacPartition disk
  2495. to boot A/UX. Start your Mac from your standard Startup disk and just
  2496. double-click on A/UX Startup on the MacPartition icon.
  2497.  
  2498. You can even do without the MacPartition disk but telling A/UX Startup the
  2499. exact SCSI number of the A/UX disk. You can do this a couple of ways:
  2500.  
  2501.     1. create a ROOT variable in A/UX Startup that points to the
  2502.        root partition in this form: (SCSI-ID, 0, 0)
  2503.  
  2504.     2. Under the General Preferences menu, change the Root Directory
  2505.        to (SCSI-ID, 0, 0).
  2506.  
  2507. The "device" file /dev/default points to the SCSI-ID of whatever disk is the
  2508. MacPartition disk, so if you don't have one, you need to tell A/UX Startup
  2509. it's "real" name. This is kinda messy since you'll need to preface a lot of
  2510. stuff with this value: e.g.
  2511.  
  2512.     #startup cat (6,0,0)/etc/inittab
  2513.  
  2514. =====================================================================
  2515. M.10)  After the Mac environment crashes (or when I use MacsBug), the
  2516.        Desktop gets all screwed up... Argg!!
  2517. ---------------------------------------------------------------------
  2518.  
  2519. Ron Flax of Apple (ron@afsg.apple.com) has written a very useful System
  2520. Extension called FMbackup that creates backup copies of "valuable" Desktop
  2521. files. When the MacOS-mode is entered, FMbackup restores these files. Thus,
  2522. when your MacOS "crashes", you no longer need to rebuild the Desktop or reset
  2523. all your Icons, window "types", etc... Please note that there seems to be
  2524. some incompatibilty between FMbackup and Moire and QuickMail 2.5.1.
  2525.  
  2526. FMbackup (1.0.4) is available via anon-ftp on afsg.apple.com as well as
  2527. aux.support.apple.com (in "unsupported").
  2528.  
  2529. %%% For more information about "FMbackup", please contact Ron via E-mail %%%
  2530.  
  2531. =====================================================================
  2532. M.11)  My MacOS partition(s) only show up on the Desktop when I login
  2533.        as root. Why?
  2534. ---------------------------------------------------------------------
  2535.  
  2536. Under the Preferences/General Menu of A/UX Startup, there is a radio-box
  2537. called "Password checking". This is intended to provide some security for
  2538. the A/UX Startup application. When enabled, two (default) things happen:
  2539.  
  2540.     1. A/UX Startup requires a password to open.
  2541.     2. MacOS partition(s) are only mounted for root login.
  2542.  
  2543. Thus, to enable MacOS partition(s) to be available for all users, you must
  2544. disable "Password checking". See auxstartuprc(4) for more info.
  2545.  
  2546. ======================================================================
  2547. M.12)  For some reason, my CommandShell only responds to a keyboard
  2548.        event after it receives a second event. For example, typing "a"
  2549.        won't show until I type something else or click the mouse.
  2550.        What gives?
  2551. ----------------------------------------------------------------------
  2552.  
  2553. This is caused almost 99% of the time by an Extension|CDEV conflict. The way
  2554. around this is to selectively disable each one at a time and see which one
  2555. causes the problem... then delete it. "Wild Magic" is prone to do this as
  2556. are older versions of CEToolbox.
  2557.  
  2558. =====================================
  2559. M.13)  Can A/UX 3.x.x run System 7.1?
  2560. -------------------------------------
  2561.  
  2562. A/UX 3.x.x's MacOS interface is based on System 7.0.1. You cannot install
  2563. Sys 7.1 on A/UX (meaning you can't make A/UX run Sys 7.1) since there are a
  2564. few system files that are fine-tuned and modified to work under A/UX. These
  2565. would get overwritten if you tried to install 7.1 and you'd be out of luck.
  2566. Please recall that this doesn't mean that you can't have 7.1 installed on
  2567. your MacPartition, to be used when in MacOS-only mode. It just means that
  2568. you can't have A/UX run 7.1.
  2569.  
  2570. Just to let you all know, if you really want to, you _can_ install 7.1 on
  2571. A/UX 3.x.x and the MacOS-stuff will work pretty well. However, all hybrids,
  2572. such as CommandShell or Commando, will die... not too useful...
  2573.  
  2574. ===============================================
  2575. M.14)  What version of AppleTalk does A/UX run?
  2576. -----------------------------------------------
  2577.  
  2578. This one is tricky. First of all, the version of AppleTalk under A/UX was
  2579. designed specifically for A/UX... Don't try installing the Network Software
  2580. Installer (NSI) disk. Bad Things will happen.
  2581.  
  2582. With that out of the way, when polled by InterPol, A/UX will respond that
  2583. AppleTalk v56 is running. However, A/UX's version is really compatible with
  2584. version 58. This will cause trouble with those applications that rely on
  2585. version numbers rather than capability.
  2586.  
  2587. =====================================================================
  2588. M.15)  I've just installed MacTCP 2.0.2|4|6 on A/UX and nothing works!
  2589.        What's going on?
  2590. ---------------------------------------------------------------------
  2591.  
  2592. The copy of MacTCP that ships with A/UX is specifically written for A/UX.  You
  2593. should _not_ replace it with any MacOS version of MacTCP! Doing so will cause
  2594. mucho problems for A/UX. This is because A/UX's MacTCP simply offloads all
  2595. networking functions down to A/UX itself which handles them.
  2596.  
  2597. Although it's true that some MacOS programs, such as Mosaic, "require" MacTCP
  2598. 2.0.2|4|6, the vast majority work just fine with A/UX's version. In extreme
  2599. cases, with programs that actually _check_ the version number, a little
  2600. ResEdit hacking will fix things up. Basically, all you need to do is COPY the
  2601. 'vers' resource of MacTCP 2.0.2|4|6 and PASTE it into MacTCP in your active
  2602. A/UX System Folder (you want to 'Replace' the previous 'vers' resource). This
  2603. will cause MacTCP to appear (via 'Get Info' and similar ways) to be version
  2604. 2.0.6.
  2605.  
  2606. =======================================================
  2607. M.16)  Does the LaserWriter Bridge s/w work under A/UX?
  2608. -------------------------------------------------------
  2609.  
  2610. No it doesn't... The reason is because the LaserWriter Bridge software
  2611. requires AppleTalk version 57 or higher but, due to the way AppleTalk
  2612. is implemented under A/UX, the software thinks and behaves as if A/UX
  2613. is running a version closer to v56.
  2614.  
  2615. A/UX, however, _can_ print to a printer connected via the LaserWriter
  2616. Bridge on a different Mac.
  2617.  
  2618.  
  2619. :::::::::::::::::::::::::::::::::::
  2620. ::::: DEVICES AND PERIPHERALS :::::
  2621. :::::::::::::::::::::::::::::::::::
  2622.  
  2623. =======================================================
  2624. D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  2625. -------------------------------------------------------
  2626.  
  2627. A/UX 3.x.x's 'tc' device driver (version 1.40) officially and "totally"
  2628. supports the following tape drives:
  2629.  
  2630.     Qualstar 9 track
  2631.     Archive 4mm DAT
  2632.     Archive QIC
  2633.     Teac DCAS 600
  2634.     Exabyte 8500        <<ED: no go with the 8200s>>
  2635.     DC2000
  2636.  
  2637. Please note that all the devices except for the Qualstar 9-tracks require
  2638. 8k-blocking when used through 'tc'. This means you will need to use 'tcb' or
  2639. 'tbb' as a filter ('dd' will also work during reading). You should also
  2640. specify 8k blocking (or a multiple thereof) when using dump.bsd.
  2641.  
  2642. Jim Jagielski has created a replacement for 'tc' called 'NEWtc'. It fixes
  2643. a lot of Apple's 1.4 bugs as well as to provide some nice new features. It
  2644. supports all the above drives in addition to:
  2645.  
  2646.     CIPHER drives
  2647.     Exabyte 8200, 8205 and 8505
  2648.     HP DATs
  2649.     SONY SDT line
  2650.     Teac DCAS 150 and 60
  2651.     WangDAT 1300 and 2600 series
  2652.     WankTEK series 6130 (FS/HF), 5525 and 5050ES.
  2653.  
  2654. It also has a "Generic" entry that will attempt to drive tapes it doesn't
  2655. know about. If you have a drive that isn't supported, let Jim know and he'll
  2656. try to add it.
  2657.  
  2658. NEWtc is up to version 3.33 and is available on jagubox.  Included in the
  2659. package are replacement copies of 'mt', 'tc.7.Z' and 'mt.1.Z'.
  2660.  
  2661. Tony Cooper has written a VERY nice double-buffering copier that greatly
  2662. increases the speed of backups; it's called 'tbb.' It works quite nicely with
  2663. 'tc' (assuming the correct blocking factors)... It's included with the 'NEWtc'
  2664. package.
  2665.  
  2666. Craig Ruff (cruff@ncar.ucar.edu) has written a Teac device driver also, which
  2667. works with both the 150 MB and 60 MB drives. You get the complete source so
  2668. you may "adjust" the driver if you want for other drives.
  2669.  
  2670. The Teac driver is available on jagubox.gsfc.nasa.gov.
  2671.  
  2672. %%% For more information about 'tc', please contact Jim via E-mail %%%
  2673. %%% For more information about 'teac', please contact Craig via E-mail %%%
  2674.  
  2675. =====================================================================
  2676. D.02)  I have an EtherNet card that works fine under the Macintosh OS
  2677.        but not under A/UX. Why?
  2678. ---------------------------------------------------------------------
  2679.  
  2680. The reason is because to access the card (which is seen as a device by A/UX),
  2681. you need an A/UX device driver for it. This is NOT the same as the stuff you
  2682. had to install under the MacOS for it to work. Now A/UX includes drivers for
  2683. the Apple EtherNet card (they aren't installed by default though), but they
  2684. don't work with most of the 3rd party cards except for the 3Com "EtherLink
  2685. NB", the Asante "MacCon" and the StarNet Networking cards. They are 100%
  2686. register compatible with their Apple counterparts, so you can use Apple's
  2687. 'ae' driver with them. Drivers for the EtherPort II cards are available via
  2688. anon-ftp on jagubox. However, the drivers for the "old" EPII cards (full
  2689. length) only support TCP/IP (they were written for A/UX 1.1 but will work
  2690. under 2.0.x). As far as other cards are concerned, you will have to ask the
  2691. vendor for A/UX drivers for it.
  2692.  
  2693. Please note that there have been numerous reports about problems with the
  2694. EtherPortII cards, A/UX and the IIfx and IIsi... you are warned :)
  2695.  
  2696. =======================================
  2697. D.03)  Can I use my scanner under A/UX?
  2698. ---------------------------------------
  2699.  
  2700. A/UX 3.x.x fully supports the Apple OneScanner as well as providing better
  2701. support for SCSI devices. A/UX will still use its own SCSI driver, however.
  2702.  
  2703. ===========================================================================
  2704. D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to work.
  2705.        I keep on getting a "more data than device expected" error message.
  2706.        What's wrong?
  2707. ---------------------------------------------------------------------------
  2708.  
  2709. The "problem" is with the generic SCSI disk driver under A/UX. For SCSI
  2710. drives, there are certain parameters that may be adjusted by the user; these
  2711. parameters are grouped in "pages." One such page concerns how the disk
  2712. responds to and recovers from errors: the Error Recovery Page. A/UX expects
  2713. the parameters in this page to have certain values. Now the vast majority of
  2714. SCSI disks have the values set as expected, but this isn't the case with
  2715. SyQuest drives. There is one parameter (PER) which is opposite than expected
  2716. by A/UX. When A/UX trys to set this value to what it wants, however, the
  2717. SyQuest drive reads this "request" wrong (the request is 16 bytes but the
  2718. SyQuest only reads 4, so the SCSI Manager reports the error.
  2719.  
  2720. Tony Cooper (tony@marc.cri.nz) has written a Mac application which sets the
  2721. Error Page values correctly: Fix Error Page. This application must be used
  2722. under the MacOS. It can be found on jagubox.gsfc.nasa.gov as well as on
  2723. aux.support.apple.com (aux.patches/unsupported/2.0). You can also use the
  2724. FWB Hard Disk Toolkit - World Control Application to enable the PER bit in
  2725. the recovery page (Page #1).
  2726.  
  2727. This program may also be a help in getting some SCSI-2 devices, such as disks
  2728. and opticals, to work under A/UX. If A/UX sees that the Error Page parameters
  2729. are incorrect, it will attempt to send a Mode Select command to fix them,
  2730. however it will use the SCSI-1/CCS page length instead of the SCSI-2 length,
  2731. which, depending on the drive, will not work.
  2732.  
  2733. By the by, here is the /etc/disktab entry for SyQuest:
  2734.  
  2735.     # SyQuest disk
  2736.     #
  2737.     Syquest|syquest|S45:\
  2738.        :ty=winchester:ns#34:nt#2:nc#1275:
  2739.  
  2740. ==================================================
  2741. D.05)  What 3-button mice work under A/UX (and X)?
  2742. --------------------------------------------------
  2743.  
  2744. The Gravis SuperMouse was a 3-button mechanical mouse that was completely
  2745. configurable and compatible with A/UX and was at the time your best bet.  At
  2746. present, however, the Gravis SuperMouse is no longer manufactured or supported
  2747. at _all_ by Gravis :(
  2748.  
  2749. Older versions of LogiTech's MouseMan are fully compatible with A/UX, as some
  2750. people have been using them with no problems. However, newer versions aren't
  2751. as nice, since you can't reconfigure the button binding.
  2752.  
  2753. Mouse System's A-3 mouse is "fully" compatible with A/UX, but is hard-wired
  2754. configured for A/UX as: Left Button = Actual Mouse Button; Middle Button =
  2755. Left Arrow; Right Button = Right Arrow. The "A-3" power cdev doesn't work
  2756. under A/UX. The A-3 mouse is an optical unit with a nice feel.
  2757.  
  2758. Please note that A/UX 2 & 3 only support a subset of the ADB Manager. Thus
  2759. there are a few ADB devices that may not work under A/UX.
  2760.  
  2761. =====================================================
  2762. D.06)  Is it worth getting a cache card for the IIci?
  2763. -----------------------------------------------------
  2764.  
  2765. Absolutely! The card makes an amazing difference in performance. However,
  2766. this performance increase is reduced when an external monitor is used. For
  2767. more information about extensive benchmarking with the IIci and cache
  2768. cards, you can snag the benchmarking results via anon-ftp on
  2769. redstar.dcs.qmw.ac.uk in archive/papers.
  2770.  
  2771. ====================================================================
  2772. D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  2773. --------------------------------------------------------------------
  2774.  
  2775. Many hard disk applications will reveal the disk drive geometry for you:
  2776. FWB Hard Disk ToolKit is very good (SilverLining is a bit wrong on the number
  2777. of tracks... it includes spares). What you are really looking for are the
  2778. total number of cylinders ('nc'), the number of sectors per track ('ns') and
  2779. the number of tracks ('nt').
  2780.  
  2781. By far, the easiest (and cheapest) way is to use the SCSIProbe utility, by
  2782. Herb Weiner (herbw@wiskit.com), that runs under A/UX. This neat little package
  2783. automatically generates disktab entries for your disks.
  2784.  
  2785. Also, I'm maintaining a list of /etc/disktab entries. If you have any, send
  2786. it to me and I'll add them.
  2787.  
  2788. The file is available on jagubox.
  2789. <<ED: I need _LOTS_ of entries>>
  2790.  
  2791. Just a note: the number of tracks ('nt') is equal to the number of heads.
  2792.  
  2793. ==========================================
  2794. D.08)  Which serial cards work under A/UX?
  2795. ------------------------------------------
  2796.  
  2797. There are a number of serial cards that "work" with A/UX. The Apple serial
  2798. card is NOT one of them.
  2799.  
  2800.  o There is the Digiboard Nu/Xi, which comes in 4 and 8 port versions.  Brand
  2801.    new drivers for the card have been coded and are available. This version
  2802.    (3.3.0) however, doesn't currently work with CSlip but otherwise works
  2803.    great.  You can snag the drivers via anon-ftp from digibd.com (which is
  2804.    192.83.159.193) in drivers/mac.
  2805.  
  2806.    Technical Support for DigiBoard is 612-943-9020. If you'd like to contact
  2807.    the main engineer responsible for the drivers, contact Brian Westley at the
  2808.    following Email addresses:
  2809.  
  2810.       merlyn@digibd.com
  2811.       ...uunet!digibd!merlyn
  2812.       AppleLink: merlin
  2813.  
  2814. o There is also the Creative Solutions, INC (CSI) HQS/HDS v4.4/4.5 Hurdler
  2815.   Serial Nubus cards. These cards have both pure UNIX _and_ MacOS device
  2816.   drivers (i.e. a 'newconfig' code module and a MacOS INIT/DRVR module). The
  2817.   A/UX drivers support baud rates up to 57.6k and 115.2k using the 'B50' and
  2818.   'B75' flags, true hardware handshaking while monitoring DCD for Dialup
  2819.   security, and full compatibility with CSlip and PPP and their associated
  2820.   daemons. The A/UX-MacOS drivers are fully compatible with all CommToolbox
  2821.   functions and serial drivers. These are very nice cards :)
  2822.  
  2823.   There is a mailing list for the Hurdler cards. To subscribe, send Email to
  2824.   'listserv@abraxas.adelphi.edu' with:
  2825.  
  2826.      SUBSCRIBE HURDLER-AUX-L FirstName LastName
  2827.  
  2828.   in the body of the message... as is somewhat usual, DON'T put listserv
  2829.   commands in the subject line. This mailing list also discusses the
  2830.   Hustler card as well.
  2831.  
  2832.   The recommended cable-pin out for these cards is:
  2833.  
  2834.         Mac          Modem
  2835.     Male Mini-Din-8  DB-25
  2836.     --------------------------------------------
  2837.     1 (HskO)  ---   4   (RTS)
  2838.     2 (HskI)  ---   5   (CTS)
  2839.     3 (TxD-)  ---   2   (TxD)
  2840.     4 (GDN)   ---   7   (SigGnd)
  2841.     5 (RxD-)  ---   3   (RxD)
  2842.     6 (TxD+)  ---   7   (SigGnd)or(NC)
  2843.     7 (GPi)   ---   8   (DCD)
  2844.     8 (RxD+)  ---   7   (SigGnd)
  2845.                     6 -- (DSR)
  2846.                         |
  2847.                    20 -- (DTR)
  2848.  
  2849.   Also, for logins, you should be using the FLOW flag in the gettydefs file as
  2850.   for example:
  2851.  
  2852.    fl_38400#B38400 # B38400 SANE2 TAB3 # ~MODEM ~DTR FLOW #\r\nlogin: #fl_38400
  2853.  
  2854.   For further info about the drivers, or for _any_ help is using this card,
  2855.   please contact Alan M. Friedman at Intelligent Interfaces, Inc:
  2856.  
  2857.      alan@kether.intellint.com
  2858.      AppleLink: D5620
  2859.  
  2860.   You can contact CSI at csi@applelink.apple.com (AppleLink: CSI).
  2861.  
  2862.  o Another is Paul Campell's Taniwha CommCard. This card does indeed work
  2863.    with all versions of A/UX including 3.x.x. It has special support for
  2864.    UUCP.  It has a few mysterious and not very important problems. It's an
  2865.    excellent buy. The only problem is, it's not on the market anymore. If you
  2866.    can get one used, though, it's worth getting. The one downside is that,
  2867.    like Apple's ports, it won't SIMULTANEOUSLY support modem and hardware flow
  2868.    control. It is immune to many of the nasty bugs which affect the built-in
  2869.    serial ports, including the two (at least) which can crash the kernel.
  2870.  
  2871.  o Yet another is the Applied Engineering QuadraLink serial card. According
  2872.    to sources, the board was super easy to setup and use. It also appears
  2873.    very solid as far as performance.
  2874.  
  2875.    The AE QuadraLink card, like the CommCard and the Apple ports, can't do
  2876.    both hardware handshaking and modem control at the same time. No hardware
  2877.    patch kit will be developed for the AE card...
  2878.  
  2879. =============================================================================
  2880. D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print some-
  2881.        thing to it through 'lpr', the first line of the page is cut off. Why?
  2882. -----------------------------------------------------------------------------
  2883.  
  2884. This only shows up on versions of the IIg (and IIf) with less than 5MB RAM.
  2885. The reason is because this makes the LW default to PhotoGrade-mode. You can
  2886. do 2 things to fix this:
  2887.  
  2888.     1. Using the LaserWriter Utility program, disable PhotoGrade.
  2889.        Since one of the main advantages of these LW's is PhotoGrade,
  2890.        this option is kinda unpalatable.
  2891.  
  2892.     2. If you are _only_ using "Letter" mode under 'lpr', then you
  2893.        can edit /usr/lib/ps/pstext.pro to include the following line
  2894.        between "% RCSID:..." and "/StartPage...":
  2895.  
  2896.        %!PS-Adobe-1.0
  2897.        % Z%Copyright Apple Computer 1987\tVersion 1.1 of pstext.pro on\
  2898.          87/05/04 19:02:25
  2899.        %%Creator: pstext
  2900.        %%DocumentFonts: Courier
  2901.        % RCSID: $Header: pstext.pro,v 2.1 85/11/24 12:19:55 shore Rel $
  2902. ====>>>letter 
  2903.        /StartPage{/sv save def 48 760 moveto}def
  2904.  
  2905. This will fix the problem and make it usable again.
  2906.  
  2907. =========================================================================
  2908. D.10)  I'm trying to access my tape drive using 'tc' (with something like
  2909.        "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  2910. -------------------------------------------------------------------------
  2911.  
  2912. Except for 9-track magtapes, all I/O to tape drives associated with the 'tc'
  2913. device files _must_ be blocked at 8k. The 'tcb' program does just that so
  2914. that should be included. For example, to write:
  2915.  
  2916.     $ find . -print | cpio -o | tcb > /dev/rmt/tc1
  2917.  
  2918. And to read:
  2919.  
  2920.     $ tcb < /dev/rmt/tc1 | cpio -i
  2921.  
  2922. You can get better performance if you increase the buffer size (just make
  2923. sure that it's a multiple of 8k). For example, you could use 'dd' as your
  2924. blocking filter with a 'bs=10x8k'.
  2925.  
  2926. Jim Jagielski's replacement for 'tc' allows for 'tc' to use the tape drive's
  2927. own physical block size as the logical block size for I/O. Doing so results
  2928. in a bit of a performance hit so it isn't recommended for normal use. You
  2929. should use the "mode" only if you need to read tapes written by 'st' or by
  2930. another platform. Please note you are still limited to an I/O block size of
  2931. at least the physical block size, which can be anything for 512 to 1024 to
  2932. 8192 bytes.
  2933.  
  2934. %%% For more information about 'tc', please contact Jim via E-mail %%%
  2935.  
  2936. =========================================================
  2937. D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  2938. ---------------------------------------------------------
  2939.  
  2940. The original Apple CD-ROM drive (CD SC) is 100% compatible with A/UX as is
  2941. the newer CD-150. Older versions of the CD-300 (those with pre 1.8f ROMS)
  2942. would cause problems with A/UX and would do little more than allow you to
  2943. install A/UX, making it almost useless for day-to-day use. One of the fixes
  2944. of 3.0.2 is _much_ better support for all versions of the CD-300, although
  2945. Apple does suggest that you update the CD-ROM drive's ROMs with the latest
  2946. version if you have problems. I've heard that you can get the latest ROMs by
  2947. calling 1-800-SOS-APPL or seeing your Apple dealer. The following are also
  2948. known to be 100% compatible (meaning you can use them to install A/UX as well
  2949. as when running A/UX):
  2950.  
  2951.     The Toshiba XM3201, XM3301B XM3401B, XM3501
  2952.     DEC RRD42, RRD40 (LMSI CM-212)
  2953.     Denon DRD 253
  2954.     Sun CD-ROM (Sony CDU-8012?)
  2955.     CD-Technologies Porta-Drive CD-ROM
  2956.     Chinon CDA-431
  2957.  
  2958. 3.1 adds support for NEC CD-ROMs; previous versions of A/UX weren't able to
  2959. work with these units due to their physical block size.
  2960.  
  2961. ====================================================================
  2962. D.12)  I've tried to install the CD Remote extension to A/UX so that
  2963.        I can play audio CD's, but it doesn't work...
  2964. --------------------------------------------------------------------
  2965.  
  2966. By itself, A/UX doesn't support audio CDs. However, there are 2 software
  2967. packages that add this capability:
  2968.  
  2969. The first package is xmcd/cda, which provides both a X-Motif (xmcd) and
  2970. generic command-line (cda) interface for playing audio CDs under A/UX.
  2971. The package requires that the 'devscsi' kernel package be installed, so
  2972. it will work under 3.x.x. xmcd/cda was written by Ti Kan (ti@bazooka.amb.org).
  2973. and can be found on ftp.x.org:/contrib/applications/xmcd.
  2974.  
  2975. The second package is a MacOS-patch to enable you to use the CD Remote
  2976. application. Kelly King and Andrew Kass (at Apple), however, have written the
  2977. "AUX SCSI Toolbox" extensions that emulates the Mac SCSI Manager. With this
  2978. extension installed, you can run applications and drivers that talk to the
  2979. Mac SCSI Manager, including the Apple CD-ROM driver! With this extension, you
  2980. can listen to your audio CDs under A/UX! This is the latest version of the
  2981. extension: 1.0b4.
  2982.  
  2983. "AUX SCSI Toolbox" is available via ftp on jagubox under:
  2984.  
  2985.    /pub/aux/Apple.fixes/unsupported/3.0.x/SCSItlbx.tar.gz
  2986.  
  2987. Please read the included ReadMe before installing and using it.
  2988.  
  2989. ==================================================
  2990. D.13)  What UNIX CD-ROM formats does A/UX support?
  2991. --------------------------------------------------
  2992.  
  2993. Other than the "normal" A/UX SysV and UFS file system type, A/UX supports
  2994. ISO-9660 file system format CD-ROMs. However, you can only access these CDs
  2995. from the MacOS environment; you can't "mount" them in the normal UNIX-way. As
  2996. distributed, A/UX doesn't include the needed Extensions that allow the MacOS
  2997. Environment from recognizing these CDs. To fix this, you need to copy the
  2998. following Extensions from the Apple CD-ROM Software disks (version 3.2 or
  2999. later) to the System Folder of the user(s) that need access to these CDs:
  3000.  
  3001.    o Foreign File Access
  3002.    o High Sierra File Access
  3003.    o ISO 9660 File Access
  3004.  
  3005. The docs are a little blurry on this (even though it's specifically mentioned
  3006. in Chapter 5 of the "Setting Up Accounts and Peripherals for A/UX") since they
  3007. say that you don't need to add any _kernel_ resources...
  3008.  
  3009. One of A/UX's quirks is that all files on ISO-9660 CDs are "seen" as TEXT
  3010. type files. This causes troubles with binary files since when you try to
  3011. drag them over to the "/" disk, A/UX will perform it's \r->\n translation.
  3012. To avoid this from happening, you can:
  3013.  
  3014.    1 Drag the file(s) over to a MacOS HFS disk. Then use ResEdit (or something
  3015.      similar) to change the file Creator to "A/UX" and Type to "BIN " (note the
  3016.      space!). Now you can drag the file over to "/".
  3017.  
  3018.    2 Use ResEdit to look at the NCOD resource in the "ISO 9660 File Access"
  3019.      extension. Open the "Main" resource in NCOD. Now change the string
  3020.      "TEXT" to "BIN " and "hscd" to "A/UX". Save, logout and login. This
  3021.      changes things so that _all_ files on the CD-ROM appear as non-Text,
  3022.      CommandShell files, so that A/UX will _not_ perform any translation.
  3023.  
  3024. Again, please note that A/UX will not recognize _any_ of the audio capability
  3025. of CD-ROMs unless you add the "AUX SCSI Toolbox" extension described in Q&A
  3026. #D.12.
  3027.  
  3028. ====================================================================
  3029. D.14)  How can I add printers other than those available in Chooser?
  3030. --------------------------------------------------------------------
  3031.  
  3032. <<ED: From a post by Antonio Ordonez (antonio@apple.com)>>
  3033.  
  3034. If the printer is in another zone, it is necessary to define the zone in
  3035. which the printer is located with a full path name.  You can then "hardwire"
  3036. a printer name including the zone for a particular printer queue.
  3037.  
  3038. The best way to do this is to make a copy the /usr/spool/lpd/AppleTalk
  3039. directory and give it a name related to the printer we want to use. Modify
  3040. the file ifilter/ofilter/nfilter  (it is the same file with 3 hard links) in
  3041. this directory. Also modyfy the /etc/printcap file to create a new printer
  3042. queue.
  3043.  
  3044. I will use my system as an example so please modify to reflect your
  3045. situation.
  3046.  
  3047. The first thing to do is to create the new directory and put the correct
  3048. files in it. NOTE that I am using mknod to create the pipe file.
  3049.  
  3050. mkdir Idaho
  3051. chown daemon Idaho
  3052. chgrp daemon Idaho
  3053. cp AppleTalk/ifilter Idaho/ifilter
  3054. cd Idaho
  3055. ln ifilter ofilter
  3056. ln ofilter nfilter
  3057. mknod pipe p
  3058. chown daemon *
  3059. chgrp daemon *
  3060.  
  3061. In my case I have a printer called "Idaho Spooler" in the zone "SCV CAM2
  3062. 2nd W"  while my system is on the zone "SCV CAM2 2nd E", so all I do is to
  3063. modify the /usr/spool/lpd/Idaho/ifilter file (you can use vi or
  3064. TextEditor)
  3065. and change the line that defines the value for Printer from
  3066.  
  3067. Printer=`basename "cwd"`
  3068.         -to-
  3069. Printer="Idaho Spooler:LaserWriter@SCV CAM2 2nd W"
  3070.  
  3071. In the /etc/printcap file I copy the entry for AppleTalk (all six lines) and
  3072. change any reference to AppleTalk to the name I used for my new directory.
  3073. Again, in my case I used "Idaho" as the directory name so my /etc/printcap
  3074. file looks like:
  3075.  
  3076.   #
  3077.   # pragma ident "@(#)lpr:printcap        5.4 90/03/27 "
  3078.   #
  3079.   # Copyright 1990 Apple Computer, Inc.
  3080.   # All Rights Reserved.
  3081.   ##
  3082.   # Remote AppleTalk printer (selected by Chooser)
  3083.   # For an AppleTalk printer which doesn't support PostScript remove last 2
  3084.   names.
  3085.   lp|at|AppleTalk|postscript|PostScript:\
  3086.           :lp=/dev/null:\
  3087.           :if=/usr/spool/lpd/AppleTalk/ifilter:\
  3088.           :of=/usr/spool/lpd/AppleTalk/ofilter:\
  3089.           :nf=/usr/spool/lpd/AppleTalk/nfilter:\
  3090.           :sd=/usr/spool/lpd/AppleTalk:
  3091.   lp2|Idaho:\
  3092.           :lp=/dev/null:\
  3093.           :if=/usr/spool/lpd/Idaho/ifilter:\
  3094.           :of=/usr/spool/lpd/Idaho/ofilter:\
  3095.           :nf=/usr/spool/lpd/Idaho/nfilter:\
  3096.           :sd=/usr/spool/lpd/Idaho:
  3097.  
  3098. After all these steps are completed restart the printer queue with the command
  3099.  
  3100.     lpc restart all
  3101.  
  3102. Now you should be able to send a print job to the printer in the other zone
  3103. with the command
  3104.  
  3105.     lpr -Plp2 /etc/passwd
  3106.  
  3107. or
  3108.  
  3109.     lpr -PIdaho /etc/passwd
  3110.  
  3111. Hope this helps
  3112.  
  3113. //////////////////////  END OF PART 3 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  3114. -- 
  3115. #include <std/disclaimer.h>
  3116.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  3117.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  3118.                      << Put the moon BACK, demon waif! >>
  3119. Archive-name: aux-faq/part4
  3120. Last-modified: Mon Mar  6 09:44:03 EST 1995
  3121.  
  3122.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  3123.  
  3124.  
  3125. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 4 OF 4 //////////////////////
  3126.  
  3127. ============================================================
  3128. D.15)  What 3rd party accelerators are compatible with A/UX?
  3129. ------------------------------------------------------------
  3130.  
  3131. For the most part, all DayStar Digital accelerators are compatible with A/UX
  3132. 3.0 even if their controlling CDEVs don't work under A/UX (the accelerator
  3133. must be enabled with the CDEV before booting A/UX). However, their 040
  3134. accelerators do NOT work under A/UX. In fact, except for Apple's own Quadra
  3135. 700 Logic Board Upgrade, there are no 040 accelerators that work (i.e. don't
  3136. crash) under A/UX.
  3137.  
  3138. There has been at least 1 report of the DayStar-accelerated MacII not working
  3139. under 3.0.2... it's possible that 3.0.2 is more sensitive to timing than 3.0
  3140. was... If in doubt, be _sure_ that you can return the accelerator if you
  3141. can't run it under A/UX.
  3142.  
  3143. According to Daystar Digital, the DayStar QuadraCache is _not_ compatible
  3144. with A/UX. DayStar is working on a fix... Nonetheless, there are a number of
  3145. people (including people at Apple) who are using these cache cards with no
  3146. problems at all and with very nice (~25%) performance boosts.
  3147.  
  3148. << ED: This is kinda skimpy, but I'd thought I'd start it up. EMail me
  3149.        your list >>
  3150.  
  3151. ==============================================================
  3152. D.16)  Will the old serial HP DeskWriter work under A/UX?
  3153. --------------------------------------------------------------
  3154.  
  3155. No, it won't... You need to use AppleTalk to use it under A/UX.
  3156.  
  3157. ================================================
  3158. D.17)  How can I use a HP DeskWriter under A/UX?
  3159. ------------------------------------------------
  3160.  
  3161. For the answer, snag a copy of DeskWriter.txt which is available via anon-
  3162. ftp on jagubox in /pub/aux/Info.
  3163.  
  3164. ======================================
  3165. D.18)  Does A/UX support 24-bit color?
  3166. --------------------------------------
  3167.  
  3168. Yes.
  3169.  
  3170. There is one major caveat, that will hopefully be addressed in future
  3171. versions. On startup, A/UX reinitializes all hardware drivers, including
  3172. the video-drivers; as a result, most accelerated 24-bit cards (all third-
  3173. party cards known to date, as well as Apple's old 8*24 GC card) will be
  3174. reinitialized to run in non-accelerated mode. You'll still get 24-bit video,
  3175. but depending on your hardware, it may be painfully slow.
  3176.  
  3177. This could be solved by better driver support from the vendors of accelerated
  3178. video cards. Certain vendors have been promising such support for awhile now.
  3179.  
  3180. The best hardware to run A/UX with 24-bit video enabled are currently
  3181. the Quadra 700, 900, and 950, whose internal video can be populated with
  3182. enough VRAM to support 24-bit color (note that the Q800 cannot do this !).
  3183. Performance is considered good under A/UX by many users.
  3184.  
  3185. The following is a list of 24-bit cards that readers have reported work with
  3186. A/UX from personal experience. It is NOT a complete list; there have been no
  3187. reports of cards that work under MacOS but not A/UX (excepting the caveat
  3188. detailed above):
  3189.  
  3190.     Apple 8*24, 8*24GC
  3191.     Quadra 700, 900, 950 internal video
  3192.     PrecisionColor PRO 24xp
  3193.     RasterOps 24STV, Paintboard li
  3194.     Radius 24XP, 24XK
  3195.  
  3196. =================================================
  3197. D.19)  What's the specifics on the AWS95 PDS Card?
  3198. -------------------------------------------------
  3199.  
  3200. The AWS95 PDS Card (known as "Pisces") has two main functional additions to
  3201. the Q950. The first is that it includes an external level-2 cache for the
  3202. Quadra's 68040. The cache size is 128K, but this can be increased with Apple
  3203. provided SRAM upgrade kits. The use of a L2 cache increases the base perfor-
  3204. mance of the Q950.
  3205.  
  3206. The second capability that Pisces includes is the addition of two additional
  3207. upgraded SCSI buses. Pisces fully supports Direct Memory Access (DMA) on these
  3208. SCSI buses. This can greatly increase SCSI throughput by offloading SCSI
  3209. operations to the PDS card. The card supports active termination and negation
  3210. on the 2 SCSI DMA buses, improving signal quality and integrity.
  3211.  
  3212. =================================================
  3213. D.20)  What are the specifics of SCSI under A/UX?
  3214. -------------------------------------------------
  3215.  
  3216. SCSI under A/UX is SCSI-1/CCS and not SCSI-2. However, A/UX can use most
  3217. SCSI-2 devices. Problems will arise on some SCSI-2 disks if their Error
  3218. Correction Mode Pages are incorrect (See Q&A D.04). A/UX supports SCSI
  3219. connect/disconnect which results in more efficient use of the SCSI bus.
  3220. Finally, A/UX provides asynchronous I/O as well.
  3221.  
  3222. =========================================================
  3223. D.21)  I can't get my LaserJet 4M to work reliably. Help!
  3224. ---------------------------------------------------------
  3225.  
  3226. Bad news... for some reason, if the LaserJet is connected _directly_ to a
  3227. Q700 running A/UX via AppleTalk then it won't work. If you have a router or
  3228. something similar between the two it'll work like a hose. It looks like it's
  3229. most probably a 4M ROM bug and I hear that HP is "working" on a fix.
  3230.  
  3231. ==========================================================
  3232. D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  3233. ----------------------------------------------------------
  3234.  
  3235. No it doesn't... This is due to the way the Adjustable keyboard actually
  3236. works and the fact that A/UX doesn't fully support the ADB Manager. :(
  3237.  
  3238.  
  3239. :::::::::::::::::::::::::::::::::::
  3240. ::::: PORTING AND PROGRAMMING :::::
  3241. :::::::::::::::::::::::::::::::::::
  3242.  
  3243. ================================================================
  3244. P.01)  How come rn|elm|less|etc... act weird concerning signals?
  3245. ----------------------------------------------------------------
  3246.  
  3247. Well, it's not really them at all. Many people have found that more than a
  3248. few ports require the addition of the 'set42sig()' call to enable BSD 4.2
  3249. signal delivery. The best place to add this is as the 1st executable statement
  3250. under
  3251.  
  3252.     "main() {"
  3253.  
  3254. Another point about porting applications: A/UX's 'cc' does provide "strict"
  3255. BSD, SystemV and Posix libraries. If you are porting a BSD program, you can
  3256. enable BSD "emulation" by adding the "-ZB -lbsd" options to your 'cc' command
  3257. line. In fact, using just the '-lbsd' option alleviates the need for adding
  3258. the 'set42sig()' call mentioned above and is, in many cases, the suggested
  3259. option. Compiling with gcc also helps out a great deal.
  3260.  
  3261. ===================================
  3262. P.02)  Is X11R5 available for A/UX?
  3263. -----------------------------------
  3264.  
  3265. Yes! Thomas Eberhardt has ported X11R5 and the binaries (which includes full
  3266. shared libraries) for A/UX are available via anon-ftp on wuarchive.wustl.edu
  3267. under systems/aux/X11R5 (our overseas friends should get it from
  3268. ftp.uni-stuttgart.de due to US Export regs).  Patches for X11R5 compiled with
  3269. gcc are also available. It looks like it results in a nice 10-20% increase in
  3270. performance! Thomas had "taken over" X11R5 with his new port; John Coolidge
  3271. used to do it...
  3272.  
  3273. %%% For more information about X11R5 for A/UX, E-mail Thomas %%%
  3274.  
  3275. =====================================================================
  3276. P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  3277.        I'll miss out on all the neat Gnu-stuff like gcc?
  3278. ---------------------------------------------------------------------
  3279.  
  3280. Although it's true that FSF is "boycotting" Apple and A/UX (FSF doesn't like
  3281. Apple's predisposition of suing to protect "look and feel"), ports of most Gnu
  3282. applications are available. Of particular interest is gcc version 2.6.3 which
  3283. has been ported by Jim Jagielski (based on previous ports by John Coolidge
  3284. and is available via anon-ftp on wuarchive.wustl.edu in systems/aux/gnu. The
  3285. binaries, sources and diffs are all available.
  3286.  
  3287. GCC version 2.6.3 for A/UX has been ported and is available... Highly
  3288. recommended!
  3289.  
  3290. As a nice compliment to using GCC, gdb (4.9) is also available.
  3291.  
  3292. %%% For more info about gcc for A/UX, please contact Jim via E-mail %%%
  3293.  
  3294. ==========================================================================
  3295. P.04)  I've ported Elm (or other mail reader) and it doesn't seem to work.
  3296.        Why?
  3297. --------------------------------------------------------------------------
  3298.  
  3299. It seems most likely that the reason is because they attempt to use a
  3300. different file locking scheme that /bin/mail does. Pre-3.0 versions of mail
  3301. used 'flock' style file locking. 3.x.x now uses the '.lock' scheme for mail
  3302. file locking. Elm 2.4.X requires that both flock and .lock be enabled. Elm
  3303. 2.3.X requires _only_ .lock locking.
  3304.  
  3305. =============================================
  3306. P.05)  What languages are available for A/UX?
  3307. ---------------------------------------------
  3308.  
  3309. A/UX comes with a C compiler ('cc'), a FORTRAN-77 compiler ('f77') as well
  3310. as an assembler ('as'), SNOBOL ('sno') and a kinda-basic interpreter ('bs').
  3311. 'cc' is a nice, stable, if not-too-quick compiler. 'f77' is a true FORTRAN-77
  3312. compiler and appears quite workable. I've not used 'sno' (I couldn't recall
  3313. how to program in SNOBOL if my life depended on it :) or 'bs'.
  3314.  
  3315. If you are doing any work in C, then it would be well worth it to get a copy
  3316. of the GNU C compiler ('gcc') (see Q&A #P.03). gcc is K&R and ANSI compatible
  3317. so if you are doing ANSI work you'll need it. Apple also has an ANSI C
  3318. compiler ('c89') that you can buy. It's available on the "A/UX Developer's
  3319. Toolkit CD" from APDA. There is also at least one other 3rd-party C compiler
  3320. out there, but I can't recall it's name right now. gcc is free; c89 runs
  3321. about $800. Both include C++ capabilities.
  3322.  
  3323. There are also 2 very good 3rd-party FORTRAN compilers: NKR FORTRAN and Absoft
  3324. MacFORTRAN II. In my opinion, MacFORTRAN II is the better product...  it has
  3325. finer compiler control, a wide number of compatibility options (such as VAX
  3326. FORTRAN) and excellent speed. If you do order MFII, be _sure_ to get the A/UX
  3327. version. They also sell an MPW version that will work under A/UX but it's
  3328. run under, you guessed it, MPW. The A/UX version is a true "Unix" compiler
  3329. and it's optimized for A/UX. Both MFII and NKR FORTRAN run about $500-$600.
  3330.  
  3331. Oasys sells 3 compiler packages: C, C++ and FORTRAN. All the compilers are
  3332. based on the GreenHills compilers which are known to be robust and fast.
  3333. However, the Oasys packages are expensive, running about $2000 per language
  3334. (although you do get assemblers and linker/loaders with the package).  Unisoft
  3335. used to distribute their "Optimizing Compilers" (FORTRAN and C) for A/UX,
  3336. but they are no longer available... Pity, because they also were based on
  3337. GreenHills and were quite nice.
  3338.  
  3339. At present, I know of no true Pascal compilers for A/UX.
  3340.  
  3341. Finally, if you are doing program development, then you'll need a good
  3342. debugger. As described above in "List of ports...", gdb has been ported if
  3343. you would prefer using something other than sdb or dbx, which are included
  3344. with A/UX. If you are using FORTRAN, then Absoft also makes an excellent
  3345. debugger which has been fine-tuned to work with MFII (it also does quite well
  3346. with C); it's called FX. It has two interfaces, character and Motif, and is
  3347. quite powerful.
  3348.  
  3349. =======================================
  3350. P.06)  Is OSF/Motif available for A/UX?
  3351. ---------------------------------------
  3352.  
  3353. The only source for OSF/Motif (1.1.4) for A/UX that I know of is:
  3354.  
  3355.    Integrated Computer Solutions
  3356.    201 Broadway
  3357.    Cambridge, MA 02139
  3358.    617-547-0510
  3359.  
  3360. However, they have stopped producing this and have since stopped support for
  3361. A/UX OSF/Motif. They may still have a few copies of it available, so if you
  3362. don't mind using unsupported software, give them a call.
  3363.  
  3364. If you have, or can get, the actual source code for Motif then the following
  3365. will be of some help: 1.1.4 compiles with minimal changes to the source using
  3366. 'cc' and works "great." However, the source for 1.2.2 makes calls to various
  3367. XIM multi-character routines, leaving many unresolved externals when linking.
  3368. Now, if someone ported X11R5 and left the XIM routines intact, then maybe
  3369. compiling and linking 1.2.2 would go off without a hitch... Any takers??
  3370.  
  3371. =============================================================
  3372. P.07)  While trying to port some software, the Makefile looks
  3373.        for a program called 'ranlib' and dies when it can't
  3374.        find it. What is it and where can I get it.
  3375. -------------------------------------------------------------
  3376.  
  3377. 'ranlib' is a program that increases the efficiency of accessing and using
  3378. archives (*.a files). A/UX's 'ar' already does this, so it isn't needed.
  3379. To get around this, do something like:
  3380.  
  3381.     ln /bin/true /bin/ranlib
  3382.  
  3383. You could also use '/bin/touch' but the above will (hopefully) take care of
  3384. cases when ranlib is called with options. If you want to put 'ranlib'
  3385. somewhere else, then that's OK. If the location is a different file system,
  3386. then you'll need to use a symbolic link:
  3387.  
  3388.     ln -s /bin/true /usr2/local/bin/ranlib
  3389.  
  3390. ============================================================
  3391. P.08)  When compiling, I get the message that 'setlocale' is
  3392.        an "undefined symbol"... what's going on?
  3393. ------------------------------------------------------------
  3394.  
  3395. The 'locale' suite can be found in /lib/libposix.a. To avoid linking to
  3396. libposix.a you can do the following to create a separate locale library:
  3397.  
  3398.    $ ar xv /lib/libposix.a locale.o
  3399.    $ ar rv /usr/lib/liblocale.a locale.o
  3400.  
  3401. Now you can simply link to '-llocale' to add it in.
  3402.  
  3403. A better fix would be to grab and use libUTIL, a collection of useful and
  3404. needed functions for any serious porting effort (see Hints&WOW, above).
  3405. libUTIL is maintained by Jim Jagielski and can be found on jagubox.
  3406.  
  3407.  
  3408. :::::::::::::::::::::::::
  3409. ::::: COMMUNICATION :::::
  3410. :::::::::::::::::::::::::
  3411.  
  3412. ===========================================================================
  3413. C.01)  I'm unable to start a getty process on a built-in serial port. When
  3414.        I use 'setport' to enable the port, I get a "no such device" error.
  3415.        Configuring /etc/inittab to respawn getty on the port has no effect.
  3416. ---------------------------------------------------------------------------
  3417.  
  3418. AppleTalk is probably enabled for the port. The getty process can be started
  3419. temporarily by turning off AppleTalk via A/UX's Finder Chooser and THEN
  3420. using the 'setport' command.
  3421.  
  3422. You can permanently disable AppleTalk by reconfiguring the kernel with
  3423. "newconfig noappletalk". If you wish to keep the drivers installed in the
  3424. kernel but still want to "permanently" disable AppleTalk, you can edit
  3425. /etc/startup to prevent AppleTalk from initializing and /etc/inittab can be
  3426. editted to start getty. (NOTE: /etc/startup is regenerated by newconfig so
  3427. you'll have to redo this if you reconfigure the kernel).
  3428.  
  3429. If you don't have an EtherTalk card installed, then you can also modify
  3430. /etc/appletalkrc to point to "ethertalk0" instead of "localtalk0". Doing
  3431. this stops AppleTalk from bothering the serial port because it tries to use
  3432. the non-existant card.
  3433.  
  3434. =============================================================================
  3435. C.02)  I am using and depending on /etc/hosts to do all my hostname resolving
  3436.        (i.e. not using named or /etc/resolv.conf). How come I can't mail
  3437.        to other hosts, but I can ping|ftp|etc... them?
  3438. -----------------------------------------------------------------------------
  3439.  
  3440. Well, the problem is actually with sendmail (in /usr/lib). sendmail (under
  3441. A/UX 2.0 and later) assumes the use of a nameserver. Pre-2.0 versions were
  3442. "adjusted" to look in /etc/hosts if any nameserver call failed (which it
  3443. would if it wasn't running, of course :).
  3444.  
  3445. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked sendmail 5.65 for A/UX
  3446. to have it also check /etc/hosts. The source code is available on jagubox.
  3447.  
  3448. You may also want to upgrade to smail 3.1.28. smail is a very powerful yet
  3449. easy to configure (and maintain) replacement for sendmail. It can both query
  3450. the NameServer as well as look in /etc/hosts to "interpret" hostnames. The
  3451. required A/UX-related diffs and patches, which were written by Bob Denny
  3452. (denny@alisa.com) are available on jagubox.
  3453.  
  3454. %%% For more info, contact Jim %%%
  3455.  
  3456. ========================================================================
  3457. C.03)  When I try to mail something, I get the following error message:
  3458.        "Cannot read frozen config file: not a typewriter". What's wrong?
  3459. ------------------------------------------------------------------------
  3460.  
  3461. This message is produced by sendmail (/usr/lib/sendmail) when it's frozen
  3462. configuration file (/usr/lib/sendmail.fc) is unusable (as it is in the A/UX
  3463. distribution which has it as a 0-byte file). To create a "new" frozen file
  3464. of your present sendmail.cf file (assuming that it's good), type:
  3465.  
  3466.     $ /usr/lib/sendmail -bz
  3467.  
  3468. (the sendmail daemon, if it exists, must be killed 1st).
  3469.  
  3470. ==========================================================================
  3471. C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  3472.        on tty0?
  3473. --------------------------------------------------------------------------
  3474.  
  3475. First of all, you must edit /etc/inittab to start getty on tty0 using mo_2400
  3476. (or whatever speed you want, such as mo_9600):
  3477.  
  3478.     00:2:respawn:/etc/getty -u -t 60 tty0 mo_2400
  3479.  
  3480. Make sure that your modem is set to be quiet, to not return result codes and
  3481. to not echo back. It must also reset on DTR being dropped ("atq1e0&d3" will
  3482. achieve this for most Hayes-compatible modems except certain (all) USR
  3483. modems). Your modem must also raise DCD on connection ("at&c1") in order to
  3484. have Dialup security (i.e. when the line is closed, HangUp the process.  This
  3485. means that MODEM flow control must be specified in gettydefs). You then save
  3486. these changes using the "at&w" sequence. Finally, to make it autoanswer, be
  3487. sure to add "ats0=1&w".
  3488.  
  3489. Make sure that the modem cable is correctly configured (NOTE: This is for
  3490. Dialup Security!):
  3491.  
  3492.     Mac       Modem
  3493.     --------------------
  3494.     1 (HskO)  20 (DTR)
  3495.               4  (RTS)  <- yep... it gets sent to Pin 20 & 4
  3496.     2 (HskI)  8  (DCD)
  3497.     3 (TxD-)  2  (TxD)
  3498.     4 (GDN)   7  (Sgnd)
  3499.     5 (RxD-)  3  (RxD)
  3500.     6 NO CONNECT
  3501.     7 NO CONNECT
  3502.     8 (RxD+)  7  (Sgnd)  <- this is right, it gets tied to Mac pin 4 too.
  3503.  
  3504. If you mess up pin 8 things can get so flaky that you'll never figure out
  3505. what's going on. You see, by grounding pin 8, you make the modem port truly
  3506. RS-232 compatible. If not grounded, the port will use the RS-422 standard,
  3507. which can cause lots of problems. For more info about pinouts and cable
  3508. pinouts, check out "/usr/lib/uucp/README".
  3509.  
  3510. Please note that getty is the bidirectional version of getty, which is
  3511. sometimes known as uugetty. Thus, you can have dial in and dial out at the
  3512. same time on the same port. You should be using at least version 1.16 of HDB
  3513. (see above: "known bugs" and Q&A #A.16)
  3514.  
  3515. As mentioned above, the cable described provides for Dialup Security and
  3516. prevents the use of hardware flow control... If, however, the exact same
  3517. baudrate is used throughout the phone link, the need for hardware flow
  3518. control is greatly reduced.
  3519.  
  3520. ========================================================================
  3521. C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  3522.        there, and they can't talk to me?
  3523. ------------------------------------------------------------------------
  3524.  
  3525. The reason why is because there are two versions of talk (and it's daemon
  3526. talkd) out there. A/UX uses the BSD 4.2 version. Others use the 4.3 version.
  3527. The two aren't compatible and don't even talk on the same port. If you try
  3528. to talk to someone and all you get is a "Checking for invitation..." message
  3529. then it's because the machine you're trying to access is using 4.3.
  3530.  
  3531. Steve Green (xrsbg@dirac.gsfc.nasa.gov) has ported the 4.3 versions of talk
  3532. and talkd (now renamed ntalk and ntalkd for A/UX) to overcome this snag. You
  3533. can have both versions available and running with no problems. The port is
  3534. available on jagubox.gsfc.nasa.gov.
  3535.  
  3536. =====================================================
  3537. C.06)  How can I convince A/UX to forward IP packets?
  3538. -----------------------------------------------------
  3539.  
  3540. You will need to use 'adb' to adjust the A/UX kernel to enable IP forwarding.
  3541. This is done by changing the value of the 'ipforwarding' "variable" from
  3542. 0 (no forwarding) to 1 (enable forwarding).
  3543.  
  3544. As root, and in single-user mode, apply this patch:
  3545.  
  3546.     # Enable fowarding: just the kernel
  3547.     adb -w -k /unix << Foo
  3548.     ipforwarding?D
  3549.     ipforwarding?W 1
  3550.     $w
  3551.     $q
  3552.     Foo
  3553.  
  3554. And reboot.
  3555.  
  3556. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  3557. unless you apply the patch to /etc/install.d/boot.d/bnet as follows:
  3558.  
  3559.     # Enable fowarding: keep it that way
  3560.     adb -w /etc/install.d/boot.d/bnet << Foo
  3561.     ipforwarding?D
  3562.     ipforwarding?W 1
  3563.     $w
  3564.     $q
  3565.     Foo
  3566.  
  3567. =================================
  3568. C.07)  Is PPP available for A/UX?
  3569. ---------------------------------
  3570.  
  3571. Unfortunately, I know of no port of PPP for A/UX :(
  3572.  
  3573. ================================================
  3574. C.08)  How can I change the MTU value for CSlip?
  3575. ------------------------------------------------
  3576.  
  3577. You will need to use 'adb' to adjust either the kernel or the CSlip driver to
  3578. change this value (slip_mtu).  As root, and in single-user mode, apply this
  3579. patch (please replace $THE_VALUE with the actual HEX value you want MTU to be):
  3580.  
  3581.     # Change SLIP MTU value to $THE_VALUE: just the kernel
  3582.     adb -w -k /unix << Foo
  3583.     slip_mtu?d
  3584.     slip_mtu?w $THE_VALUE
  3585.     $w
  3586.     $q
  3587.     Foo
  3588.  
  3589. And reboot.
  3590.  
  3591. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  3592. unless you apply the patch to /etc/install.d/boot.d/cslip as follows:
  3593.  
  3594.     # Change SLIP MTU value to $THE_VALUE: keep it that way
  3595.     adb -w /etc/install.d/boot.d/cslip << Foo
  3596.     slip_mtu?d
  3597.     slip_mtu?w $THE_VALUE
  3598.     $w
  3599.     $q
  3600.     Foo
  3601.  
  3602. Now run 'newconfig -v' and reboot.
  3603.  
  3604.  
  3605. ::::::::::::::::::::::::::::
  3606. ::::: ERRORS EXPLAINED :::::
  3607. ::::::::::::::::::::::::::::
  3608.  
  3609. ============================================================================
  3610. E.01)  How do I keep command lines that I edit with "backspace" from erasing
  3611.        the prompt?
  3612. ----------------------------------------------------------------------------
  3613.  
  3614. This behavior is due to the tty driver under A/UX. The BSD tty driver (which
  3615. A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are
  3616. running 'ksh' then you can "set -o viraw" to prevent this from happening.
  3617. As far as I know, there are no work-arounds for 'sh' or 'csh'. ('tcsh' and
  3618. 'bash' do not suffer from this problem... )
  3619.  
  3620.  
  3621. ==========================================================================
  3622. E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  3623.        a fatal server error. Why?
  3624. --------------------------------------------------------------------------
  3625.  
  3626. The reason why is because both X and the CommandShell want _complete_ control
  3627. over your Mac (display, keyboard and mouse). So, when you try to start one
  3628. while running the other, you'll get into trouble. You need to start X either
  3629. from the Console Emulator Mode or by choosing it as your "session type" from
  3630. the Login screen (This session type will be available only if your installed
  3631. Apple's X or have installed John Coolidge's 'sessiontypes' for X11R5).
  3632.  
  3633. ====================================================================
  3634. E.03)  I keep on getting the following error message on the Console:
  3635.        "fcntl: local lock manager not registered". What's going on?
  3636. --------------------------------------------------------------------
  3637.  
  3638. This is printed out whenever your kernel is configured for NFS and a file-
  3639. lock is attempted (as when sending Email) but the NFS lock daemon (rpc.lockd)
  3640. isn't running. This is most probably due to the fact that it wasn't started
  3641. in /etc/inittab. The fix is simple: enable rpc.lockd (and it's companion
  3642. rpc.statd) in /etc/inittab as follows:
  3643.  
  3644.    nfs5:2:wait:/etc/rpc.statd   # set to "wait" for NFS status monitor
  3645.    nfs6:2:once:/etc/rpc.lockd   # set to "once" for NFS lock manager
  3646.  
  3647. and either Restart A/UX or simply type 'init q'.
  3648.  
  3649. ===============================================================
  3650. E.04)  When I try to startup 'xterm', I get the following error
  3651.        message: "xterm: no available ptys"... What gives?
  3652. ---------------------------------------------------------------
  3653.  
  3654. There are three possible solutions:
  3655.  
  3656.     1. Make sure that there are ptys configured into the
  3657.        kernel... Use 'kconfig' to check that NPTY is non-0
  3658.     2. Switch to X11R5... This seems to happen to some users
  3659.        running Apple's X11...
  3660.     3. For at least one user, copying the /usr/lib/X11/xterm*.tic files
  3661.        to /usr/lib/terminfo/x/xterm(s) worked...
  3662.     4. One final possible solution is to start 'xterm' from 'sh'.
  3663.  
  3664. ========================================================================
  3665. E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  3666.        these commands, they get a "no mem" error message. What's wrong?
  3667. -------------------------------------------------------------------------
  3668.  
  3669. Both these commands require read access to /dev/kmem, which is not allowed
  3670. for regular users. Thus, the programs require that they be suid or sgid to
  3671. the user or group that can read /dev/kmem. See if this is true and fix if
  3672. not.
  3673.  
  3674. //////////////////////  END OF PART 4 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  3675.  
  3676. =====================================
  3677. **** Author's/Editor's Signature ****
  3678. -------------------------------------
  3679.  
  3680.  
  3681. -- 
  3682. #include <std/disclaimer.h>
  3683.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  3684.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  3685.                      << Put the moon BACK, demon waif! >>
  3686.